package config

This commit is contained in:
许晓东
2021-09-03 14:39:12 +08:00
parent 28546e4798
commit f2ee4680d4
13 changed files with 164 additions and 62 deletions

View File

@@ -5,9 +5,9 @@ module.exports = {
"/kafka-console": {
target: `${process.env.SW_PROXY_TARGET || "http://127.0.0.1:7766"}`,
changeOrigin: true,
// pathRewrite: {
// '^/kafka-console': '/'
// }
pathRewrite: {
"^/kafka-console": "/",
},
},
},
},