Skip to content

fix: self-host author avatars blocked by CSP#503

Open
ankur-arch wants to merge 2 commits into
mainfrom
fix/author-avatars-csp
Open

fix: self-host author avatars blocked by CSP#503
ankur-arch wants to merge 2 commits into
mainfrom
fix/author-avatars-csp

Conversation

@ankur-arch
Copy link
Copy Markdown
Contributor

The site's img-src CSP allows raw.githubusercontent.com but not github.com or avatars.githubusercontent.com, so the four authors using https://github.com/.png avatars rendered broken. Download the images to static/authors/ and point authors.json at the local paths, matching the pattern already used for dmfay and ryanchenkie.

The site's img-src CSP allows raw.githubusercontent.com but not
github.com or avatars.githubusercontent.com, so the four authors using
https://github.com/<user>.png avatars rendered broken. Download the
images to static/authors/ and point authors.json at the local paths,
matching the pattern already used for dmfay and ryanchenkie.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@vercel
Copy link
Copy Markdown

vercel Bot commented May 27, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
dataguide Ready Ready Preview, Comment May 27, 2026 11:05am

Request Review

@ankur-arch ankur-arch self-assigned this May 27, 2026
@github-actions
Copy link
Copy Markdown
Contributor

This PR changes the following pages (Vercel Preview Deploy links):

Changed Vercel links

(Note that links will only be valid after Vercel preview deploy succeeded)

Pass continueOnFailure: true to gatsby-plugin-algolia so a transient
Algolia outage or stale credential turns the post-build index push
into a warning rather than a panicOnBuild. Runtime search is
unaffected — it talks to Algolia directly via algoliasearch/lite at
load time.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant