summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/mediatorApp/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/apps/mediatorApp/webpack.config.js18
1 files changed, 14 insertions, 4 deletions
diff --git a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
index 94943ecd5..3efe2d015 100644
--- a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
+++ b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
@@ -127,19 +127,29 @@ module.exports = (env) => {
},
proxy: {
"/oauth2/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:28181",
secure: false
},
"/database/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:28181",
secure: false
},
"/restconf/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:28181",
secure: false
},
"/help/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:28181",
+ secure: false
+ },
+ "/ms/": {
+ target: "http://10.20.6.29:28181",
+ secure: false
+ },
+ "/websocket": {
+ target: "http://10.20.6.29:28181",
+ ws: true,
+ changeOrigin: true,
secure: false
}
}