summaryrefslogtreecommitdiffstats
path: root/sdnr/wt/odlux/framework/webpack.config.js
diff options
context:
space:
mode:
authorHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-03-12 18:00:21 +0100
committerHerbert Eiselt <herbert.eiselt@highstreet-technologies.com>2019-03-12 18:01:06 +0100
commit2d4424c28ac35763ef44c42ae2f01664d42b268c (patch)
tree4e6ebdc2e57c1c8f2c91d3ec094b340c89dfe5c5 /sdnr/wt/odlux/framework/webpack.config.js
parentcaf781999351fc6a3e2acb5b2fe47fe04a291d2d (diff)
Security provider for UX-Client-Login
Use ODL provided oauth2/token for UX clients Change-Id: I9f9ae931fc5e74dc13076bd23551d163c0685606 Issue-ID: SDNC-648 Signed-off-by: Herbert Eiselt <herbert.eiselt@highstreet-technologies.com>
Diffstat (limited to 'sdnr/wt/odlux/framework/webpack.config.js')
-rw-r--r--sdnr/wt/odlux/framework/webpack.config.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/sdnr/wt/odlux/framework/webpack.config.js b/sdnr/wt/odlux/framework/webpack.config.js
index 4231d67e5..c732af6ec 100644
--- a/sdnr/wt/odlux/framework/webpack.config.js
+++ b/sdnr/wt/odlux/framework/webpack.config.js
@@ -82,7 +82,7 @@ module.exports = (env) => {
minimizer: env !== "release" ? [] : [new TerserPlugin({
terserOptions: {
mangle:{
- reserved:["./app.tsx"]
+ reserved:["./app.tsx"]
},
warnings: false, // false, true, "verbose"
compress: {
@@ -173,8 +173,8 @@ module.exports = (env) => {
colors: true
},
proxy: {
- "/api/**/*": {
- target: "http://localhost:3001",
+ "/oauth2/**/*": {
+ target: "http://localhost:3000",
secure: false
}
}