Skip to content

Commit 91a4b2c

Browse files
committed
fix(docs): fix CSP img-src
1 parent 4f19e09 commit 91a4b2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

apps/docs/src/middleware.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ function getContentSecurityPolicyHeaderValue(nonce: string, reportUri: string):
4747
"form-action": [`'self'`],
4848
"frame-src": [`'self'`],
4949
"connect-src": [`'self'`],
50-
"img-src": [`'self'`, "cdn.usefathom.com"],
50+
"img-src": [`'self'`, "cdn.usefathom.com", "github.com"],
5151
"manifest-src": [`'self'`],
5252
"object-src": [`'none'`],
5353
"report-uri": [reportUri], // for old browsers like Firefox

0 commit comments

Comments
 (0)