From 5e52250eeb4c868ce3dd7bfb39391bae83893fa3 Mon Sep 17 00:00:00 2001 From: Himit_ZH <372347736@qq.com> Date: Fri, 24 Sep 2021 20:38:07 +0800 Subject: [PATCH] update fe --- hoj-vue/vue.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/hoj-vue/vue.config.js b/hoj-vue/vue.config.js index 96550399..e964157d 100644 --- a/hoj-vue/vue.config.js +++ b/hoj-vue/vue.config.js @@ -57,7 +57,7 @@ module.exports={ port: 8088, // 开发服务器运行端口号 proxy: { '/api': { // 以'/api'开头的请求会被代理进行转发 - target: 'https://hdoi.cn', // 要发向的后台服务器地址 如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081` ip为后台服务器的ip + target: 'http://localhost:6688', // 要发向的后台服务器地址 如果后台服务跑在后台开发人员的机器上,就写成 `http://ip:port` 如 `http:192.168.12.213:8081` ip为后台服务器的ip changeOrigin: true } },