zelda/frontend/vue.config.js

23 lines
496 B
JavaScript

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: {}
},
},
},
};