You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@ignite.apache.org by dp...@apache.org on 2018/05/24 12:51:54 UTC
[31/50] [abbrv] ignite git commit: IGNITE-8556 Web Console: Relaxed
DEV mode for Webpack.
IGNITE-8556 Web Console: Relaxed DEV mode for Webpack.
Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/2be52953
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/2be52953
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/2be52953
Branch: refs/heads/ignite-5789-1
Commit: 2be529534e6cdbfe428ebe7f2c6952a4bd9c8066
Parents: e227f22
Author: Alexey Kuznetsov <ak...@apache.org>
Authored: Tue May 22 17:29:27 2018 +0700
Committer: Alexey Kuznetsov <ak...@apache.org>
Committed: Tue May 22 17:29:27 2018 +0700
----------------------------------------------------------------------
modules/web-console/frontend/webpack/webpack.dev.babel.js | 5 ++++-
1 file changed, 4 insertions(+), 1 deletion(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/ignite/blob/2be52953/modules/web-console/frontend/webpack/webpack.dev.babel.js
----------------------------------------------------------------------
diff --git a/modules/web-console/frontend/webpack/webpack.dev.babel.js b/modules/web-console/frontend/webpack/webpack.dev.babel.js
index d17fbc7..f70d3a0 100644
--- a/modules/web-console/frontend/webpack/webpack.dev.babel.js
+++ b/modules/web-console/frontend/webpack/webpack.dev.babel.js
@@ -63,6 +63,9 @@ export default merge(commonCfg, {
]
},
devServer: {
+ headers: {
+ 'Content-Security-Policy': `script-src 'self' 'unsafe-inline' 'unsafe-eval' data: http: https:;`
+ },
compress: true,
historyApiFallback: true,
disableHostCheck: true,
@@ -78,7 +81,7 @@ export default merge(commonCfg, {
target: `http://localhost:${backendPort}`,
ws: true
},
- '/api/v1/*': {
+ '/api/*': {
target: `http://localhost:${backendPort}`
}
},