mirror of
https://github.com/barthuijgen/factorio-sites.git
synced 2025-03-04 15:51:24 +02:00
fix: update csp header to allow wasm
This commit is contained in:
parent
2e55711b63
commit
bd3d78ce19
3
apps/blueprints/next.config.js
vendored
3
apps/blueprints/next.config.js
vendored
@ -41,8 +41,9 @@ module.exports = {
|
||||
},
|
||||
{
|
||||
key: "Content-Security-Policy",
|
||||
// 'unsafe-eval' and 'worker-src blob:' are required for wasm
|
||||
value:
|
||||
"script-src 'self' https://factorio-blueprints-assets.storage.googleapis.com https://static.cloudflareinsights.com ;",
|
||||
"script-src 'self' 'unsafe-eval' https://factorio-blueprints-assets.storage.googleapis.com https://static.cloudflareinsights.com ; worker-src blob: ;",
|
||||
},
|
||||
{
|
||||
key: "X-Frame-Options",
|
||||
|
Loading…
x
Reference in New Issue
Block a user