aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/configurationApp/webpack.config.js
diff options
context:
space:
mode:
Diffstat (limited to 'sdnr/wt/odlux/apps/configurationApp/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/apps/configurationApp/webpack.config.js24
1 files changed, 12 insertions, 12 deletions
diff --git a/sdnr/wt/odlux/apps/configurationApp/webpack.config.js b/sdnr/wt/odlux/apps/configurationApp/webpack.config.js
index e44b9322b..6a5c5d55e 100644
--- a/sdnr/wt/odlux/apps/configurationApp/webpack.config.js
+++ b/sdnr/wt/odlux/apps/configurationApp/webpack.config.js
@@ -26,7 +26,7 @@ module.exports = (env) => {
context: path.resolve(__dirname, "src"),
entry: {
- configurationApp: ["./plugin.tsx"]
+ configurationApp: ["./pluginConfiguration.tsx"]
},
devtool: env === "release" ? false : "source-map",
@@ -86,10 +86,6 @@ module.exports = (env) => {
manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
sourceType: "umd2"
}),
- new CopyWebpackPlugin([{
- from: "assets",
- to: path.resolve(distPath, "assets")
- }]),
...(env === "release") ? [
new webpack.DefinePlugin({
"process.env": {
@@ -131,25 +127,29 @@ module.exports = (env) => {
},
proxy: {
"/oauth2/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:48181",
+ secure: false
+ },
+ "/yang-schema/": {
+ target: "http://10.20.6.29:48181",
secure: false
},
"/database/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:48181",
secure: false
},
"/restconf/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:48181",
secure: false
},
"/help/": {
- target: "http://localhost:3000",
+ target: "http://10.20.6.29:48181",
secure: false
},
- "/websocket/": {
- target: "http://localhost:3000",
+ "/websocket": {
+ target: "http://10.20.6.29:48181",
ws: true,
- changeOrigin: true,
+ changeOrigin: false,
secure: false
}
}