diff options
author | Michael Lando <ml636r@att.com> | 2018-07-29 16:13:45 +0300 |
---|---|---|
committer | Michael Lando <ml636r@att.com> | 2018-07-29 16:20:34 +0300 |
commit | 5b593496b8f1b8e8be8d7d2dbcc223332e65a49b (patch) | |
tree | 2f9dfc45191e723da69cf74be7829784e9741b94 /catalog-ui/webpack.server.js | |
parent | 9200382f2ce7b4bb729aa287d0878004b2d2b4f9 (diff) |
re base code
Change-Id: I12a5ca14a6d8a87e9316b9ff362eb131105f98a5
Issue-ID: SDC-1566
Signed-off-by: Michael Lando <ml636r@att.com>
Diffstat (limited to 'catalog-ui/webpack.server.js')
-rw-r--r-- | catalog-ui/webpack.server.js | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/catalog-ui/webpack.server.js b/catalog-ui/webpack.server.js index 06ac28d5cb..a0f6fb1a24 100644 --- a/catalog-ui/webpack.server.js +++ b/catalog-ui/webpack.server.js @@ -40,23 +40,23 @@ module.exports = function(env) { // Redirect all '/sdc1/feProxy/rest' to feHost middlewares.push( proxy(['/sdc1/feProxy/rest'],{ - target: 'http://' + loclahost + ':' + fePort, + target: 'http://' + loclahost + ':' + fePort, changeOrigin: true, secure: false })); // Redirect all '/sdc1/rest' to feHost - middlewares.push( - proxy(['/sdc1/rest'],{ - target: 'http://' + loclahost + ':' + fePort, - changeOrigin: true, - secure: false - })); + middlewares.push( + proxy(['/sdc1/rest'],{ + target: 'http://' + loclahost + ':' + fePort, + changeOrigin: true, + secure: false + })); // Redirect dcae urls to feHost middlewares.push( proxy(['/dcae','/sdc1/feProxy/dcae-api'],{ - target: 'http://' + loclahost + ':' + fePort, + target: 'http://' + loclahost + ':' + fePort, changeOrigin: true, secure: false, onProxyRes: (proxyRes, req, res) => { @@ -70,7 +70,7 @@ module.exports = function(env) { // Redirect onboarding urls to feHost middlewares.push( proxy(['/onboarding','/sdc1/feProxy/onboarding-api'],{ - target: 'http://' + loclahost + ':' + fePort, + target: 'http://' + loclahost + ':' + fePort, changeOrigin: true, secure: false, onProxyRes: (proxyRes, req, res) => { |