Skip to content

Fix CSP violation from inline script on layout#41

Merged
bigtiger merged 1 commit intomainfrom
jrr/fix-homepage-csp-errors
Mar 29, 2026
Merged

Fix CSP violation from inline script on layout#41
bigtiger merged 1 commit intomainfrom
jrr/fix-homepage-csp-errors

Conversation

@bigtiger
Copy link
Copy Markdown
Contributor

The section header toggle was defined as an inline <script> in default.hbs, which was blocked by the site's script-src 'self' Content Security Policy. Moved it into app.js where it's loaded as an external file.

@bigtiger bigtiger merged commit 61fe987 into main Mar 29, 2026
1 check passed
@bigtiger bigtiger deleted the jrr/fix-homepage-csp-errors branch March 29, 2026 17:44
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