Skip to content

Commit ffa9784

Browse files
committed
fix: add worker src blob to CSP
1 parent 086b30c commit ffa9784

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

next.config.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,8 @@ module.exports = withBundleAnalyzer(
100100
value: `
101101
default-src 'self';
102102
script-src 'self' 'unsafe-eval' 'unsafe-inline' https://identitytoolkit.googleapis.com https://*.hotjar.com https://*.storyblok.com https://*.newrelic.com https://*.nr-data.net https://*.crisp.chat https://*.googletagmanager.com https://vercel.live;
103-
child-src 'self';
103+
child-src 'self' blob:;
104+
worker-src 'self' blob:;
104105
style-src 'self' 'unsafe-inline' https://fonts.googleapis.com https://static.hotjar.com https://app.storyblok.com https://client.crisp.chat;
105106
font-src 'self' https://fonts.gstatic.com https://*.hotjar.com https://*.crisp.chat;
106107
img-src 'self' data: https://*.hotjar.com https://*.storyblok.com https://*.crisp.chat;

0 commit comments

Comments
 (0)