diff --git a/.env.development b/.env.development index a2b175b..28fa5ef 100644 --- a/.env.development +++ b/.env.development @@ -1,3 +1,3 @@ VUE_APP_SITE='default' VUE_APP_LOGIN_ERROR = http://10.160.7.216:9920/casserver/login -VUE_APP_REPLACE_STR = {"{oss_file_url}": "https://dy12333.org.cn/api"} +VUE_APP_REPLACE_STR = {"{oss_file_url}": "http://10.165.0.173:8000"} diff --git a/.env.production b/.env.production index a2b175b..28fa5ef 100644 --- a/.env.production +++ b/.env.production @@ -1,3 +1,3 @@ VUE_APP_SITE='default' VUE_APP_LOGIN_ERROR = http://10.160.7.216:9920/casserver/login -VUE_APP_REPLACE_STR = {"{oss_file_url}": "https://dy12333.org.cn/api"} +VUE_APP_REPLACE_STR = {"{oss_file_url}": "http://10.165.0.173:8000"} diff --git a/vue.config.js b/vue.config.js index 29b9062..daacde0 100644 --- a/vue.config.js +++ b/vue.config.js @@ -23,7 +23,7 @@ module.exports = { port: 1888, proxy: { "/api": { - target: 'http://192.168.1.108:8000', + target: 'http://10.165.0.173:8000', ws: true, changeOrigin: true, pathRewrite: {