Browse Source

fix: 注释代理

sy-water-data-board-ui
panyuyi 1 year ago
parent
commit
fcd6b2e4fe
  1. 16
      vue.config.js

16
vue.config.js

@ -35,14 +35,14 @@ module.exports = {
port: 80,
open: true,
proxy: {
[process.env.VUE_APP_BASE_API + '/run/']: {
target: "http://172.16.34.27:18082",
changeOrigin: true,
// logLevel: 'debug',
pathRewrite: {
[process.env.VUE_APP_BASE_API +'/run/']: '/tianhui-admin-web/run/'
}
},
// [process.env.VUE_APP_BASE_API + '/run/']: {
// target: "http://172.16.34.27:18082",
// changeOrigin: true,
// // logLevel: 'debug',
// pathRewrite: {
// [process.env.VUE_APP_BASE_API +'/run/']: '/tianhui-admin-web/run/'
// }
// },
// [ '/profile/']: {
// target: 'http://shuili-admin.product.dev.com:30115',
// changeOrigin: true,

Loading…
Cancel
Save