diff --git a/common/index.html b/common/index.html index cac71d94..8a67e544 100644 --- a/common/index.html +++ b/common/index.html @@ -4,6 +4,7 @@ MyCrypto + diff --git a/webpack_config/makeConfig.js b/webpack_config/makeConfig.js index d9304990..73b2c4bc 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: options.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([