Skip to content

v1.2.1

Choose a tag to compare

@erraggy erraggy released this 08 Feb 21:28
· 39 commits to main since this release
66f0e44

Fix

CSP policy was blocking emgithub embeds — The SecurityHeaders middleware added in v1.2.0 didn't include cdn.jsdelivr.net, which emgithub's embed-v2.js uses at runtime to load highlight.js theme CSS and the line-numbers plugin. The browser silently blocked those requests, leaving the "How it's done" sections empty.

Adds https://cdn.jsdelivr.net to script-src, style-src, and connect-src CSP directives.

What's Changed

  • fix: add cdn.jsdelivr.net to CSP for emgithub embeds by @erraggy in #44

Full Changelog: v1.2.0...v1.2.1