From c9636640f6f66ac32d99b96d279175a71d58bb67 Mon Sep 17 00:00:00 2001 From: Apcallover <1503963513@qq.com> Date: Thu, 18 Apr 2024 17:07:21 +0800 Subject: [PATCH] flat: url --- .env.development | 2 +- .env.production | 2 +- vue.config.js | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) 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: {