From a914426240718a0472529bb49cb7c240d7e312db Mon Sep 17 00:00:00 2001 From: YLiuMou <3036560756@qq.com> Date: Wed, 16 Aug 2023 06:21:56 +0000 Subject: [PATCH] update vue.config.js. Signed-off-by: YLiuMou <3036560756@qq.com> --- vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vue.config.js b/vue.config.js index 2c7c729..8a4f78c 100644 --- a/vue.config.js +++ b/vue.config.js @@ -5,7 +5,7 @@ module.exports = defineConfig({ devServer: { proxy: { '/api': { - target: 'http://localhost:19000', // 设置你想要请求的目标域名和端口 + target: 'http://47.115.211.73:19000', // 设置你想要请求的目标域名和端口 changeOrigin: true, pathRewrite: { '^/api': '' // 将请求路径中的 '/api' 替换为空字符串 -- Gitee