aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/faultApp/webpack.config.js
diff options
context:
space:
mode:
authorKAPIL SINGAL <ks220y@att.com>2020-08-12 14:57:21 +0000
committerGerrit Code Review <gerrit@onap.org>2020-08-12 14:57:21 +0000
commit057a0db19bacdd7d963cad39be1163139e7128e2 (patch)
tree09174e29404680aaf07784695f151224bdeedcda /sdnr/wt/odlux/apps/faultApp/webpack.config.js
parent55d8703366e8e02d97e71b2e1350cb746cee8ff6 (diff)
parent3d02271058d2e59a71e49afdd866462f7b6ab1c6 (diff)
Merge "Switch odlux from Biermann-RestConf to RFC8040 interface"
Diffstat (limited to 'sdnr/wt/odlux/apps/faultApp/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/apps/faultApp/webpack.config.js18
1 files changed, 11 insertions, 7 deletions
diff --git a/sdnr/wt/odlux/apps/faultApp/webpack.config.js b/sdnr/wt/odlux/apps/faultApp/webpack.config.js
index c91b1f4cc..8131c9835 100644
--- a/sdnr/wt/odlux/apps/faultApp/webpack.config.js
+++ b/sdnr/wt/odlux/apps/faultApp/webpack.config.js
@@ -123,25 +123,29 @@ module.exports = (env) => {
stats: {
colors: true
},
- proxy: {
+ proxy: {
"/oauth2/": {
- target: "http://localhost:48181",
+ target: "http://10.20.6.29:48181",
secure: false
},
"/database/": {
- target: "http://localhost:48181",
+ target: "http://10.20.6.29:48181",
secure: false
},
"/restconf/": {
- target: "http://localhost:48181",
+ target: "http://10.20.6.29:48181",
+ secure: false
+ },
+ "/rests/": {
+ target: "http://10.20.6.29:48181",
secure: false
},
"/help/": {
- target: "http://localhost:48181",
+ target: "http://10.20.6.29:48181",
secure: false
},
- "/websocket/": {
- target: "http://localhost:48181",
+ "/websocket": {
+ target: "http://10.20.6.29:48181",
ws: true,
changeOrigin: true,
secure: false