diff --git a/.env.development b/.env.development index ee24708..f3819ec 100644 --- a/.env.development +++ b/.env.development @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = 填鸭测试环境 +VUE_APP_TITLE = 问卷调查测试环境 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VUE_APP_API_ROOT = /tduck-api # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/.env.production b/.env.production index 243f3c8..d07c3d6 100644 --- a/.env.production +++ b/.env.production @@ -1,5 +1,5 @@ # 页面标题 -VUE_APP_TITLE = tudck-填鸭 +VUE_APP_TITLE = 问卷调查 # 接口请求地址,会设置到 axios 的 baseURL 参数上 VUE_APP_API_ROOT = /tduck-api # 调试工具,可设置 eruda 或 vconsole,如果不需要开启则留空 diff --git a/vue.config.js b/vue.config.js index b988860..d1d82ce 100644 --- a/vue.config.js +++ b/vue.config.js @@ -17,7 +17,9 @@ module.exports = { // 开发环境默认开启反向代理,如果不需要请自行注释 proxy: { '/tduck-api': { - target: 'http://localhost:8999', + target: 'http://localhost:8080/api/', + //target: 'http://localhost:8116', + //target: 'http://epmet-dev.elinkservice.cn:40002', changeOrigin: true } }