Browse Source

7001

master
常熟吴彦祖 1 week ago
parent
commit
5da9cb8b0b
  1. 4
      config/index.js

4
config/index.js

@ -13,7 +13,7 @@ module.exports = {
// 代理列表, 是否开启代理通过[./dev.env.js]配置
proxyTable: devEnv.OPEN_PROXY === false ? {} : {
'/proxyApi': {
target: 'http://127.0.0.1:8002',
target: 'http://127.0.0.1:7002',
changeOrigin: true,
pathRewrite: {
// 把 /proxyApi 替换成 /
@ -24,7 +24,7 @@ module.exports = {
// Various Dev Server settings
host: 'localhost', // can be overwritten by process.env.HOST
port: 8091, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
port: 7001, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: true,
errorOverlay: true,
notifyOnErrors: true,

Loading…
Cancel
Save