From 7d4c4d3c973719510696cec4498094417359386a Mon Sep 17 00:00:00 2001 From: vincent Date: Wed, 24 Apr 2019 17:34:01 +0200 Subject: [PATCH] add proxy table --- client/config/index.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/client/config/index.js b/client/config/index.js index 547e3cc..2bf3296 100644 --- a/client/config/index.js +++ b/client/config/index.js @@ -56,6 +56,11 @@ module.exports = { assetsRoot: path.resolve(__dirname, '../../backend/dist'), assetsSubDirectory: 'static', assetsPublicPath: '/chainetv/', + proxyTable: { + '/api/v1/chaine': { + target: 'chainetv/api/v1/chaine', + changOrigin: false +} /** * Source Maps