diff --git a/.env.test b/.env.test new file mode 100644 index 0000000..0636d4c --- /dev/null +++ b/.env.test @@ -0,0 +1,3 @@ +VUE_APP_API_BASE=http://192.168.0.66:8882/SP_SYNC_SERVER +template=./public/index.html +outputDir=SP_SYNC_CLIENT diff --git a/package.json b/package.json index e0c6445..1861706 100644 --- a/package.json +++ b/package.json @@ -3,9 +3,10 @@ "version": "0.1.0", "private": true, "scripts": { - "serve": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", + "serve": "vue-cli-service serve", "stage": "vue-cli-service build --mode stage", "build": "vue-cli-service build", + "build:test": "vue-cli-service build --mode test", "lint": "vue-cli-service lint", "test:unit": "vue-cli-service test:unit" }, diff --git a/public/config.json b/public/config.json index 7c0ce30..dd44e15 100644 --- a/public/config.json +++ b/public/config.json @@ -1,5 +1,5 @@ { - "BASE_URL":"http://127.0.0.1:9989", + "BASE_URL":"http://127.0.0.1:10002", "SERVER_IP": "http://127.0.0.1:8080/", "hosp_name": "诏安县总医院" }