Skip to content

Commit 4132f6b

Browse files
ralyodioclaude
andauthored
CSP: allow the footer's built.indie + pwamart badges (#78)
Anthony: "add a pwamart.com badge to all our sites". @profullstack/footer carries the built.indie badge and, since 0.2.6, the pwamart badge (https://pwamart.com/for.svg?site=<homepage>); this site's CSP img-src blocked both images. It now names the two hosts (not an open img-src). No ad units. Co-authored-by: Claude Opus 5.5 <noreply@anthropic.com>
1 parent f8182ea commit 4132f6b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/web/next.config.mjs‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ const csp = [
1212
"default-src 'self'",
1313
"script-src 'self' 'unsafe-inline'",
1414
"style-src 'self' 'unsafe-inline'",
15-
"img-src 'self' data:",
15+
"img-src 'self' data: https://built.indie.pit.world https://pwamart.com",
1616
"font-src 'self' data:",
1717
// The download page reads release metadata from the GitHub API.
1818
"connect-src 'self' https://api.github.com",

0 commit comments

Comments
 (0)