From 0c9660562a03191d44fc779a889d3da0dc624b6d Mon Sep 17 00:00:00 2001 From: 董国庆 <364620639@qq.com> Date: 星期五, 25 七月 2025 10:47:19 +0800 Subject: [PATCH] 修改弹窗ui和客户反馈 --- laboratory/vue.config.js | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) diff --git a/laboratory/vue.config.js b/laboratory/vue.config.js index 80c8c9f..599e13d 100644 --- a/laboratory/vue.config.js +++ b/laboratory/vue.config.js @@ -9,12 +9,12 @@ devServer: { disableHostCheck: true, //禁用主机检查 proxy: { - "/api": { // 设置以什么前缀开头的请求用来代理 - target: "http://221.182.45.100:11221", //要访问的跨域的域名 + "/": { // 设置以什么前缀开头的请求用来代理 + target: "http://221.182.45.100:11222", //要访问的跨域的域名 secure: false, // 使用的是http协议则设置为false,https协议则设置为true changeOrigin: true, //开启代理 pathRewrite: { - "^/api": "/api", + "^/": "/", }, }, "/": { // 设置以什么前缀开头的请求用来代理 -- Gitblit v1.7.1