diff --git a/common/index.html b/common/index.html index eaf7bae5..8a67e544 100644 --- a/common/index.html +++ b/common/index.html @@ -4,7 +4,7 @@ MyCrypto - + diff --git a/webpack_config/makeConfig.js b/webpack_config/makeConfig.js index d9304990..0d57ae56 100644 --- a/webpack_config/makeConfig.js +++ b/webpack_config/makeConfig.js @@ -166,7 +166,10 @@ module.exports = function(opts = {}) { twitter: { site: config.twitter.creator, creator: config.twitter.creator - } + }, + metaCsp: config.isProduction + ? "default-src 'none'; script-src 'self'; worker-src 'self' blob:; style-src 'self' 'unsafe-inline'; manifest-src 'self'; font-src 'self'; img-src 'self' data: https://shapeshift.io; connect-src *;" + : "" }), new CopyWebpackPlugin([ @@ -283,7 +286,7 @@ module.exports = function(opts = {}) { if (process.env.VSCODE_DEBUG) { devtool = 'cheap-module-source-map'; } else { - devtool = 'cheap-module-eval-source-map'; + devtool = 'cheap-source-map'; } }