去除代理

This commit is contained in:
gyq
2025-04-30 09:36:36 +08:00
parent 0844db0c57
commit 12c4fb3629
3 changed files with 16 additions and 14 deletions

View File

@@ -244,17 +244,17 @@
},
"devServer" : {
"https" : false,
"port" : 8082,
"proxy" : {
"/api" : {
// "target": "http://192.168.1.43:7777/",
"target" : "https://store.sxczgkj.com/",
"changeOrigin" : "true",
"pathRewrite" : {
"^/api" : ""
}
}
}
"port" : 8082
// "proxy" : {
// "/api" : {
// // "target": "http://192.168.1.43:7777/",
// "target" : "https://store.sxczgkj.com/",
// "changeOrigin" : "true",
// "pathRewrite" : {
// "^/api" : ""
// }
// }
// }
},
"router" : {
"mode" : "history",