From 34e78d7181b7d790233fb506c64893a2df101691 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 19 Sep 2016 18:06:17 +0200 Subject: [PATCH 1/2] webpack proxy update --- js/webpack.config.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/js/webpack.config.js b/js/webpack.config.js index 219da75f0b7..1ae155b255a 100644 --- a/js/webpack.config.js +++ b/js/webpack.config.js @@ -169,12 +169,12 @@ module.exports = { quiet: false, hot: !isProd, proxy: { - '/rpc/*': { + '/rpc*': { target: 'http://localhost:8080', changeOrigin: true }, - '/api/ping': { - target: 'http://127.0.0.1:8080/index.html', + '/api*': { + target: 'http://127.0.0.1:8080', changeOrigin: true } } From 134c8fb9fc35737884a8e99fa46cea1c24666663 Mon Sep 17 00:00:00 2001 From: Jaco Greeff Date: Mon, 19 Sep 2016 18:11:41 +0200 Subject: [PATCH 2/2] updates --- js/webpack.config.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/webpack.config.js b/js/webpack.config.js index 1ae155b255a..66b616c4ded 100644 --- a/js/webpack.config.js +++ b/js/webpack.config.js @@ -169,7 +169,7 @@ module.exports = { quiet: false, hot: !isProd, proxy: { - '/rpc*': { + '/rpc/*': { target: 'http://localhost:8080', changeOrigin: true },