Change designer to plugin in code
[sdc.git] / catalog-ui / webpack.server.js
index e53d79f..d9baf47 100644 (file)
@@ -39,14 +39,14 @@ module.exports = function(env) {
             // Redirect all '/sdc1/feProxy/rest' to feHost
             middlewares.push(
                 proxy(['/sdc1/feProxy/rest'],{
-                    target: 'http://localhost:' + fePort,
+                    target: 'http://192.168.50.5:' + fePort,
                     changeOrigin: true,
                                    secure: false
                 }));
 
             middlewares.push(
                 proxy(['/sdc1/rest'],{
-                    target: 'http://localhost:' + fePort,
+                    target: 'http://192.168.50.5:' + fePort,
                     changeOrigin: true,
                     secure: false
                 }));
@@ -54,7 +54,7 @@ module.exports = function(env) {
             // Redirect dcae urls to feHost
             middlewares.push(
                 proxy(['/dcae','/sdc1/feProxy/dcae-api'],{
-                    target: 'http://localhost:' + fePort,
+                    target: 'http://192.168.50.5:' + fePort,
                     changeOrigin: true,
                                    secure: false,
                     onProxyRes: (proxyRes, req, res) => {
@@ -68,7 +68,7 @@ module.exports = function(env) {
             // Redirect onboarding urls to feHost
             middlewares.push(
                 proxy(['/onboarding','/sdc1/feProxy/onboarding-api'],{
-                    target: 'http://localhost:' + fePort,
+                    target: 'http://192.168.50.5:' + fePort,
                     changeOrigin: true,
                                    secure: false,
                     onProxyRes: (proxyRes, req, res) => {