technological-brain-admin/vue.config.js

22 lines
424 B
JavaScript
Raw Normal View History

2025-10-21 17:35:56 +08:00
const { defineConfig } = require("@vue/cli-service");
2025-10-10 13:43:38 +08:00
module.exports = defineConfig({
transpileDependencies: true,
lintOnSave: false,
devServer: {
client: {
overlay: false,
},
port: 8080,
proxy: {
2025-10-21 17:35:56 +08:00
"/brain": {
target: "http://47.110.148.47:8090",
changeOrigin: true,
ws: true,
pathRewrite: {
2025-10-21 17:35:56 +08:00
"^/brain": "/brain",
},
},
},
},
});