This commit is contained in:
dengxin
2024-03-29 16:51:49 +08:00
parent 6c6831b394
commit 8957d276b7
2 changed files with 5 additions and 3 deletions

View File

@@ -3,7 +3,8 @@ module.exports = {
port: 1887,
proxy: {
'/api': {
target: 'http://10.165.0.173:8000', // 本地服务接口地址
target: 'http://10.165.0.173:8000', // 内网
// target: 'http://192.168.1.109:8000', // 本地测试
ws: true,
pathRewrite: {
'^/api': '/'