diff options
author | Aijana Schumann <aijana.schumann@highstreet-technologies.com> | 2020-08-12 12:28:06 +0200 |
---|---|---|
committer | Aijana Schumann <aijana.schumann@highstreet-technologies.com> | 2020-08-12 12:29:48 +0200 |
commit | 3d02271058d2e59a71e49afdd866462f7b6ab1c6 (patch) | |
tree | bb42b3428055136a4a8f5def9c63e412390d40ef /sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js | |
parent | cd29d2dd98b7c40bd4efb6a8705787ca35e99fe9 (diff) |
Switch odlux from Biermann-RestConf to RFC8040 interface
Switched rest-calls in odlux to use RFC8040 interface
Issue-ID: CCSDK-2565
Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com>
Change-Id: Ia59dd02bc6456bad648083146c0256f204e134d1
Diffstat (limited to 'sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js')
-rw-r--r-- | sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js b/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js index 33a3bed73..eb6f785f3 100644 --- a/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js +++ b/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js @@ -125,25 +125,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 |