Ver código fonte

通用

wulanhaote
张泽亮 3 anos atrás
pai
commit
6d2056252a
1 arquivos alterados com 2 adições e 2 exclusões
  1. +2
    -2
      config/index.js

+ 2
- 2
config/index.js Ver arquivo

@@ -13,7 +13,7 @@ module.exports = {
"/dev-api": {
// 请求的目标主机
//target: 'http://116.255.135.38:8081/nsgk_test/',
target: 'http://192.168.31.47:8080/',
target: 'http://localhost:8080/',
changeOrigin: true,
pathRewrite: {
'^/dev-api': ''
@@ -23,7 +23,7 @@ module.exports = {

// Various Dev Server settings
host: '0.0.0.0', // can be overwritten by process.env.HOST
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
port: 85, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: true,


Carregando…
Cancelar
Salvar