代理修改

qzc-dev-demo
秦子超 2024-11-14 15:19:12 +08:00
parent cc259fdce2
commit 0d5f4e635f
1 changed files with 2 additions and 2 deletions

View File

@ -5,10 +5,10 @@ module.exports = function (app) {
app.use( app.use(
'/gunshiApp', '/gunshiApp',
createProxyMiddleware({ createProxyMiddleware({
// target: 'http://local.gunshiiot.com:18083/',//测试 target: 'http://local.gunshiiot.com:18083/',//测试
// target: 'http://192.168.66.199:24105/',//正式 // target: 'http://192.168.66.199:24105/',//正式
// target: 'http://36.139.207.50:18083/',//移动云 // target: 'http://36.139.207.50:18083/',//移动云
target: 'http://192.168.66.49:24105/',//移动云 // target: 'http://192.168.66.49:24105/',//移动云
changeOrigin: true, changeOrigin: true,
}) })
); );