zelda/frontend/vue.config.js

23 lines
496 B
JavaScript
Raw Normal View History

2022-01-16 17:13:39 +08:00
module.exports = {
lintOnSave: false,
devServer: {
proxy: {
'^/api': {
target: 'http://192.168.0.31:30300',
changeOrigin: true,
pathRewrite: {}
},
'^/auth': {
target: 'http://192.168.0.31:30300',
changeOrigin: true,
pathRewrite: {}
},
'/git': {
target: 'http://192.168.0.31:30300',
changeOrigin: true,
pathRewrite: {}
},
},
},
};