修改请求地址

This commit is contained in:
GYJ
2024-12-02 18:23:57 +08:00
parent c6c26f53ff
commit 1b5e5ecf3d
3 changed files with 10 additions and 10 deletions

View File

@@ -14,7 +14,7 @@ module.exports = {
// 代理列表, 是否开启代理通过[./dev.env.js]配置
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/sqx_fast': {
// target: 'http://192.168.0.132:8184/sqx_fast/',
// target: 'http://192.168.0.132:8184/sqx_fast/',
// target: 'https://duanjudl.xianmxkj.com/sqx_fast/',
target: 'http://127.0.0.1/sqx_fast/',
changeOrigin: true,
@@ -25,8 +25,8 @@ module.exports = {
},
// Various Dev Server settings
host: '0.0.0.0', // can be overwritten by process.env.HOST
port: 8001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
host: 'localhost', // can be overwritten by process.env.HOST
port: 8002, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
notifyOnErrors: true,