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

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