diff --git a/Makefile b/Makefile index 64c8093..71b6ef1 100644 --- a/Makefile +++ b/Makefile @@ -5,8 +5,14 @@ all: clean docker publish-kind publish-registry run: flutter run +build: + flutter pub get + flutter build linux + flutter build web + clean: rm -rf build/ + flutter clean docker: DOCKER_BUILDKIT=1 docker build -t oc/oc-front:0.0.1 -f Dockerfile . diff --git a/assets/config/front_k8s.json b/assets/config/front_k8s.json index 8ce20b6..40d31bf 100644 --- a/assets/config/front_k8s.json +++ b/assets/config/front_k8s.json @@ -1,12 +1,12 @@ { "WORKSPACE_HOST": "http://beta.opencloud.com/workspace/oc", "WORKFLOW_HOST": "http://beta.opencloud.com/workflow/oc", -"ITEM_HOST": "http://beta.opencloud.com/item/oc", -"SCHEDULER_HOST": "http://beta.opencloud.com/workspace/scheduler/oc", +"ITEM_HOST": "http://beta.opencloud.com/catalog/oc", +"SCHEDULER_HOST": "http://beta.opencloud.com/scheduler/oc", "LOGS_HOST": "http://localhost:3100", "PEER_HOST": "http://beta.opencloud.com/peers/oc", "DATACENTER_HOST": "http://beta.opencloud.com/datacenter/oc", "COLLABORATIVE_AREA_HOST": "http://beta.opencloud.com/shared/oc", "HOST": "http://beta.opencloud.com/oc", -"AUTH_HOST": "http://beta.opencloud.com/auth" +"AUTH_HOST": "http://beta.opencloud.com/auth/oc" }