frontend-frameworks-showcase/frontend-vue/vue.config.js

16 lines
342 B
JavaScript

module.exports = {
devServer: {
proxy: {
'^/api': {
target: 'http://localhost:8123',
changeOrigin: false,
secure: false,
pathRewrite: {
"^/api": ""
},
logLevel: "debug"
}
}
}
};