summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--catalog-ui/webpack.server.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/catalog-ui/webpack.server.js b/catalog-ui/webpack.server.js
index ab8678536c..a3db60f636 100644
--- a/catalog-ui/webpack.server.js
+++ b/catalog-ui/webpack.server.js
@@ -56,6 +56,14 @@ module.exports = function (env) {
middlewares.push(
proxy(['/sdc1/feProxy/rest'], feProxyOptions));
+ // Redirect all '/sdc1/feProxy/uicache' to feHost
+ middlewares.push(
+ proxy(['/sdc1/feProxy/uicache'], {
+ target: protocol + '://' + feHost + ':' + fePort,
+ changeOrigin: true,
+ secure: false
+ }));
+
// Redirect all '/sdc1/rest' to feHost
middlewares.push(
proxy(['/sdc1/rest'],{