aboutsummaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
diff options
context:
space:
mode:
authorAijana Schumann <aijana.schumann@highstreet-technologies.com>2021-08-05 08:50:16 +0200
committerAijana Schumann <aijana.schumann@highstreet-technologies.com>2021-08-05 08:50:16 +0200
commit3ba5eb125ac8890968e4437b098e39195d699434 (patch)
treeac58a39013fc9ab2cd468da83e4c41cd2d62b600 /sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
parent437f67407aece6f7aed8e989638b0d64075f0c0a (diff)
Update ODLUX
Add LineOfSightApp, update Framework, Connect, Performance and LinkCalculatorApp Issue-ID: CCSDK-3417 Signed-off-by: Aijana Schumann <aijana.schumann@highstreet-technologies.com> Change-Id: I651a2fb771d2963aea70f916c70c8fdfd3443e87
Diffstat (limited to 'sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js14
1 files changed, 14 insertions, 0 deletions
diff --git a/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js b/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
index 515c5826b..55d98b4d7 100644
--- a/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
+++ b/sdnr/wt/odlux/apps/linkCalculationApp/webpack.config.js
@@ -165,6 +165,20 @@ module.exports = (env) => {
ws: true,
changeOrigin: true,
secure: false
+ },
+ "/terrain": {
+ target: "http://10.20.11.163:5200",
+ secure: false,
+ pathRewrite(pathname) {
+ return pathname.replace(/^\/terrain/, '')
+ }
+ },
+ "/terrain/": {
+ target: "http://10.20.11.163:5200",
+ secure: false,
+ pathRewrite(pathname) {
+ return pathname.replace(/^\/terrain/, '/')
+ }
}
}