You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
dc3-web/vue.config.js

34 lines
870 B

module.exports = {
publicPath: './',
lintOnSave: true,
productionSourceMap: false,
devServer: {
proxy: {
'/user_api': {
target: 'http://dc3-auth:8300',
changeOrigin: true,
ws: true,
pathRewrite: {
'^/user_api': ''
}
},
'/manager_api': {
target: 'http://dc3-manager:8400',
changeOrigin: true,
ws: true,
pathRewrite: {
'^/manager_api': ''
}
},
'/data_api': {
target: 'http://dc3-data:8500',
changeOrigin: true,
ws: true,
pathRewrite: {
'^/data_api': ''
}
}
}
}
};