Skip to content

Commit

Permalink
add sha
Browse files Browse the repository at this point in the history
  • Loading branch information
BenoitSerrano committed Sep 25, 2024
1 parent 46d4238 commit 93bb50e
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ if (!DISABLE_SECURITY_RESPONSE_HEADERS) {
"settings.crisp.chat",
"client.crisp.chat",
"blob:",
"cdn.crisp.chat"
"cdn.crisp.chat",
],
styleSrc: ["'self'", "client.crisp.chat", "'unsafe-inline'"],
fontSrc: ["'self'", "data:", "client.crisp.chat"],
Expand All @@ -111,6 +111,7 @@ if (!DISABLE_SECURITY_RESPONSE_HEADERS) {
"client.crisp.chat",
"stats.data.gouv.fr",
"'sha256-RtdC0WqE+hX0MgZZk4QgMbkV1woYKbsuKQKKnWxsudI='",
"'sha256-9mBXYlkOC54Ex+ybfMS80Rl1umuwdSZuGjRL5zmgouU='",
],
workerSrc: ["'self'", "blob:"],
// As for https://github.com/w3c/webappsec-csp/issues/8, the feature is debated
Expand Down

0 comments on commit 93bb50e

Please sign in to comment.