Skip to content

A fully open source & end-to-end encrypted note taking alternative to Evernote.

web: add worker-src to CSP

Abdullah Attac5b974e0553c
diff --git a/apps/web/public/_headers b/apps/web/public/_headers
index 23f2f1685..003b5e1ac 100644
--- a/apps/web/public/_headers
+++ b/apps/web/public/_headers
@@ -2,4 +2,5 @@
X-Frame-Options: DENY
X-Content-Type-Options: nosniff
Referrer-Policy: no-referrer
- Content-Security-Policy: script-src 'self' 'nonce-7WIq8hRwApoXhctoGZZthMLYQLRNiprTwcPi6Azdf' 'unsafe-eval'; frame-ancestors 'none';
\ No newline at end of file
+ Content-Security-Policy: script-src 'self' 'nonce-7WIq8hRwApoXhctoGZZthMLYQLRNiprTwcPi6Azdf' 'unsafe-eval'; worker-src 'self' https://app.notesnook.com/;
+ frame-ancestors 'none';
\ No newline at end of file