diff --git a/.env.production b/.env.production index c289e8b..d8713d7 100644 --- a/.env.production +++ b/.env.production @@ -2,8 +2,9 @@ ENV = 'production' # 如果使用 Nginx 代理后端接口,那么此处需要改为 '/',文件查看 Docker 部署篇,Nginx 配置 # 接口地址,注意协议,如果你没有配置 ssl,需要将 https 改为 http -VUE_APP_BASE_API = 'https://openapitest.aiyxlib.com' -# VUE_APP_BASE_API = 'http://192.168.99.107:7070' +# VUE_APP_BASE_API = 'https://openapitest.aiyxlib.com' +# VUE_APP_BASE_API = 'http://192.168.99.107:11100' +VUE_APP_BASE_API = 'http://27.19.215.77:11100' # 如果接口是 http 形式, wss 需要改为 ws -VUE_APP_WS_API = 'ws://192.168.99.107:7071' +VUE_APP_WS_API = 'ws://27.19.215.77:11100' VUE_APP_CAMERA_API = '192.168.99.107:3000' diff --git a/package.json b/package.json index 6518a3e..f43b51c 100644 --- a/package.json +++ b/package.json @@ -5,7 +5,7 @@ "license": "", "scripts": { "dev": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service serve", - "build:prod": "vue-cli-service build", + "build:prod": "SET NODE_OPTIONS=--openssl-legacy-provider && vue-cli-service build", "build:stage": "vue-cli-service build --mode staging", "preview": "node build/index.js --preview", "lint": "eslint --ext .js,.vue src", diff --git a/src/views/system/user/center.vue b/src/views/system/user/center.vue index 0971960..7c8a3a1 100644 --- a/src/views/system/user/center.vue +++ b/src/views/system/user/center.vue @@ -87,7 +87,7 @@