From c077c385f050d7076154c8f7ecb2431428989b12 Mon Sep 17 00:00:00 2001 From: zhichen Date: Wed, 21 Nov 2018 17:47:01 +0800 Subject: [PATCH] rewrite url #321 --- .../main/resources/static/console-fe/build/webpack.dev.conf.js | 1 + 1 file changed, 1 insertion(+) diff --git a/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js b/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js index 202faf648..161192a22 100644 --- a/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js +++ b/console/src/main/resources/static/console-fe/build/webpack.dev.conf.js @@ -27,6 +27,7 @@ module.exports = Object.assign({}, base, { changeOrigin: true, secure: false, target: 'http://11.163.128.36:8848', + pathRewrite: {'^/v1' : '/nacos/v1'} }], disableHostCheck: true, open: true,