Code Review
/
ccsdk
/
features.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
|
inline
| side by side
Release ccsdk/features
[ccsdk/features.git]
/
sdnr
/
wt
/
odlux
/
apps
/
mediatorApp
/
webpack.config.js
diff --git
a/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
b/sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
index
3efe2d0
..
f626632
100644
(file)
--- a/
sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
+++ b/
sdnr/wt/odlux/apps/mediatorApp/webpack.config.js
@@
-86,7
+86,7
@@
module.exports = (env) => {
manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
sourceType: "umd2"
}),
manifest: require(path.resolve(frameworkPath, "app-manifest.json")),
sourceType: "umd2"
}),
- ...(env === "release"
)
? [
+ ...(env === "release" ? [
new webpack.DefinePlugin({
"process.env": {
NODE_ENV: "'production'",
new webpack.DefinePlugin({
"process.env": {
NODE_ENV: "'production'",
@@
-104,7
+104,7
@@
module.exports = (env) => {
from: 'index.html',
to: distPath
}]),
from: 'index.html',
to: distPath
}]),
- ]
+ ]
)
],
devServer: {
],
devServer: {
@@
-127,29
+127,19
@@
module.exports = (env) => {
},
proxy: {
"/oauth2/": {
},
proxy: {
"/oauth2/": {
- target: "http://
10.20.6.29:28181
",
+ target: "http://
localhost:3000
",
secure: false
},
"/database/": {
secure: false
},
"/database/": {
- target: "http://
10.20.6.29:28181
",
+ target: "http://
localhost:3000
",
secure: false
},
"/restconf/": {
secure: false
},
"/restconf/": {
- target: "http://
10.20.6.29:28181
",
+ target: "http://
localhost:3000
",
secure: false
},
"/help/": {
secure: false
},
"/help/": {
- target: "http://10.20.6.29:28181",
- secure: false
- },
- "/ms/": {
- target: "http://10.20.6.29:28181",
- secure: false
- },
- "/websocket": {
- target: "http://10.20.6.29:28181",
- ws: true,
- changeOrigin: true,
+ target: "http://localhost:3000",
secure: false
}
}
secure: false
}
}