fix:config

This commit is contained in:
Ggysh-7
2022-11-17 18:50:05 +08:00
parent ef4473083e
commit 0acb1f027d

View File

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