配置地址

This commit is contained in:
zhangyc
2022-12-03 17:11:06 +08:00
parent 6f3fc382d9
commit f51574998b

View File

@@ -14,8 +14,8 @@ module.exports = defineConfig({
port: 8080,
proxy: {
"/manageApi": {
// target:"http://192.168.56.245:30001/",
target: "http://localhost:30001/", //这里后台的地址模拟的;应该填写你们真实的后台接口
target:"http://111.231.196.214:30001/",
// target: "http://localhost:30001/", //这里后台的地址模拟的;应该填写你们真实的后台接口
changeOrigin: true, //表示是否改变原域名
// secure: false,
// ws: false, //表示WebSocket协议