From 6b4bf3fdc1aece201f3e5e7cf763d2f97bf41886 Mon Sep 17 00:00:00 2001 From: hackrobot Date: Thu, 11 Apr 2024 00:52:44 +0800 Subject: [PATCH] ddd --- config/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/config/index.js b/config/index.js index 67295dc..bb6f3fe 100644 --- a/config/index.js +++ b/config/index.js @@ -75,7 +75,9 @@ const config = { devServer: { proxy: { '/api/': { - target: JSON.parse('"http://192.168.31.108:28369"'), //本地调试端口 + // target: JSON.parse('"http://192.168.31.108:28369"'), //本地调试端口 + target: JSON.parse('"https://kunpeng.hackrobot.cn"'), + pathRewrite: { '^/api/': '/' },