summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js
diff options
context:
space:
mode:
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-04-03 17:03:52 +0200
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-04-03 17:04:45 +0200
commit3d6dd098db8ec243ca716a09fc55decbdd23b726 (patch)
tree6280e9f7b928370df0bbef8017d67b62d508d2ad /sdnr/wt/odlux/apps/inventoryApp/webpack.config.js
parentf12e38296c410dd105b5721f8ebaa29df789a6b6 (diff)
SDN-R Inventory export
Add inventory export and search Change-Id: Ib9541cea9be1bd7628f5e89ba17a65439f98a5bf Issue-ID: SDNC-494 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/odlux/apps/inventoryApp/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/apps/inventoryApp/webpack.config.js32
1 files changed, 26 insertions, 6 deletions
diff --git a/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js b/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js
index e992a1042..2af2bdb95 100644
--- a/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js
+++ b/sdnr/wt/odlux/apps/inventoryApp/webpack.config.js
@@ -79,13 +79,13 @@ module.exports = (env) => {
new webpack.DllReferencePlugin({
context: path.resolve(__dirname, "../../framework/src"),
manifest: require(path.resolve(frameworkPath, "vendor-manifest.json")),
- sourceType: "umd2"
- }),
+ sourceType: "umd2"
+ }),
new webpack.DllReferencePlugin({
context: path.resolve(__dirname, "../../framework/src"),
manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
- sourceType: "umd2"
- }),
+ sourceType: "umd2"
+ }),
...(env === "release") ? [
new webpack.DefinePlugin({
"process.env": {
@@ -126,11 +126,31 @@ module.exports = (env) => {
colors: true
},
proxy: {
- "/database": {
- target: "http://localhost:8181",
+
+ "/oauth2/": {
+ target: "http://localhost:3000",
+ secure: false
+ },
+ "/database/": {
+ target: "http://localhost:3000",
+ secure: false
+ },
+ "/restconf/": {
+ target: "http://localhost:3000",
+ secure: false
+ },
+ "/help/": {
+ target: "http://localhost:3000",
+ secure: false
+ },
+ "/websocket/": {
+ target: "http://localhost:3000",
+ ws: true,
+ changeOrigin: true,
secure: false
}
}
+
}
}];
}