aboutsummaryrefslogtreecommitdiffstats
path: root/catalog-ui/webpack.server.js
diff options
context:
space:
mode:
Diffstat (limited to 'catalog-ui/webpack.server.js')
-rw-r--r--catalog-ui/webpack.server.js9
1 files changed, 8 insertions, 1 deletions
diff --git a/catalog-ui/webpack.server.js b/catalog-ui/webpack.server.js
index b8c79a6197..e53d79f533 100644
--- a/catalog-ui/webpack.server.js
+++ b/catalog-ui/webpack.server.js
@@ -44,6 +44,13 @@ module.exports = function(env) {
secure: false
}));
+ middlewares.push(
+ proxy(['/sdc1/rest'],{
+ target: 'http://localhost:' + fePort,
+ changeOrigin: true,
+ secure: false
+ }));
+
// Redirect dcae urls to feHost
middlewares.push(
proxy(['/dcae','/sdc1/feProxy/dcae-api'],{
@@ -77,4 +84,4 @@ module.exports = function(env) {
};
return ServerConfig;
-} \ No newline at end of file
+}