Skip to content

Commit

Permalink
fix: allow execution of web assembly (#2797)
Browse files Browse the repository at this point in the history
* fix: allow execution of web assembly

* fix: CSP string
  • Loading branch information
schmanu authored Nov 13, 2023
1 parent f3fc362 commit 8419d23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/config/securityHeaders.ts
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ export const ContentSecurityPolicy = `
script-src 'self' https://www.google-analytics.com https://ssl.google-analytics.com 'unsafe-inline' https://*.getbeamer.com https://www.googletagmanager.com https://*.ingest.sentry.io https://sentry.io ${
!IS_PRODUCTION || /* TODO: remove after moving cypress to görli and testing in staging again!! */ CYPRESS_MNEMONIC
? "'unsafe-eval'"
: ''
: "'wasm-unsafe-eval'"
};
frame-src *;
style-src 'self' 'unsafe-inline' https://*.getbeamer.com https://*.googleapis.com;
Expand Down

0 comments on commit 8419d23

Please sign in to comment.