diff options
Diffstat (limited to 'sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js')
-rw-r--r-- | sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js | 24 |
1 files changed, 19 insertions, 5 deletions
diff --git a/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js b/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js index 325e70380..e6d968564 100644 --- a/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js +++ b/sdnr/wt/odlux/apps/maintenanceApp/webpack.config.js @@ -26,7 +26,7 @@ module.exports = (env) => { context: path.resolve(__dirname, "src"), entry: { - maintenanceApp: ["./plugin.tsx"] + maintenanceApp: ["./pluginMaintenance.tsx"] }, devtool: env === "release" ? false : "source-map", @@ -126,12 +126,26 @@ module.exports = (env) => { colors: true }, proxy: { - "/restconf": { - target: "http://localhost:3000", + "/oauth2/": { + target: "http://10.20.6.29:28181", secure: false }, - "/database": { - target: "http://localhost:3000", + "/database/": { + target: "http://10.20.6.29:28181", + secure: false + }, + "/restconf/": { + target: "http://10.20.6.29:28181", + secure: false + }, + "/help/": { + target: "http://10.20.6.29:28181", + secure: false + }, + "/websocket/": { + target: "http://10.20.6.29:28181", + ws: true, + changeOrigin: true, secure: false } } |