Skip to content

Commit

Permalink
fix(docs): fix CSP img-src
Browse files Browse the repository at this point in the history
  • Loading branch information
branko-stripe committed Oct 30, 2024
1 parent 4f19e09 commit 91a4b2c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/docs/src/middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ function getContentSecurityPolicyHeaderValue(nonce: string, reportUri: string):
"form-action": [`'self'`],
"frame-src": [`'self'`],
"connect-src": [`'self'`],
"img-src": [`'self'`, "cdn.usefathom.com"],
"img-src": [`'self'`, "cdn.usefathom.com", "github.com"],
"manifest-src": [`'self'`],
"object-src": [`'none'`],
"report-uri": [reportUri], // for old browsers like Firefox
Expand Down

0 comments on commit 91a4b2c

Please sign in to comment.