# Conflicts:
#	config/index.js
zm
戴余标 2 years ago
commit 3939ac8238

1
.gitignore vendored

@ -1 +1,2 @@
/node_modules/
dist

@ -4,5 +4,5 @@ const prodEnv = require('./prod.env')
module.exports = merge(prodEnv, {
NODE_ENV: '"development"',
BASE_API: '"/api/"',
BASE_API: '"http://localhost/index.php/"',
})

@ -12,6 +12,7 @@ module.exports = {
proxyTable: {
'/api': {
target: 'http://192.168.50.39:8088',
changeOrigin: true,
pathRewrite: {
'^/api': ''
@ -28,7 +29,7 @@ module.exports = {
// Various Dev Server settings
host: '0.0.0.0', // can be overwritten by process.env.HOST
port: 8090, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
port: 8080, // can be overwritten by process.env.PORT, if port is in use, a free one will be determined
autoOpenBrowser: false,
errorOverlay: true,
notifyOnErrors: false,

Loading…
Cancel
Save