From bb239de4f54c4414cffd8e05c750d3398c8339d7 Mon Sep 17 00:00:00 2001 From: star7th Date: Sun, 2 Sep 2018 10:56:46 +0800 Subject: [PATCH] dev --- web_src/config/index.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/web_src/config/index.js b/web_src/config/index.js index 816143c24..f6feae798 100644 --- a/web_src/config/index.js +++ b/web_src/config/index.js @@ -10,7 +10,9 @@ module.exports = { // Paths assetsSubDirectory: 'static', assetsPublicPath: '/', - proxyTable: {}, + proxyTable: { + '/server/': 'http://127.0.0.1/showdoc/' + }, // Various Dev Server settings host: 'localhost', // can be overwritten by process.env.HOST