Fix default CSP

This commit is contained in:
hensm
2019-04-09 01:24:27 +01:00
parent 56ec766d86
commit 40d19da638

View File

@@ -58,7 +58,7 @@ const webpackConfig = require(`${ROOT}/webpack.config.js`)({
// eval source map needs special CSP
, contentSecurityPolicy: argv.mode === "production"
? "default-src 'self'"
? "script-src 'self'; object-src 'self'"
: "script-src 'self' 'unsafe-eval'; object-src 'self'"
// Developer info