Fixes webpack dev server proxy to uicache removed in
SDC-2843, Change Id: I9a6c89e45ea425eb9abf827906562e14a39cf1ff.
Change-Id: I83aa842df4c7bf3d140216c93b48eb1cfec48656
Issue-ID: SDC-2944
Signed-off-by: andre.schmid <andre.schmid@est.tech>
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'],{