Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Hotfix] MathJaX configuration with CSP nonce #33

Merged
merged 1 commit into from
Dec 1, 2023

Conversation

sneakers-the-rat
Copy link
Collaborator

@sneakers-the-rat sneakers-the-rat commented Dec 1, 2023

Fixes #32

  • Adds nonce to inline js script tag
  • Allows inline js with nonce

Part of: https://wiki.neuromatch.social/Mastodon/Mathjax

edit: for further context - mathstodon just puts this in a separate file, but like their custom mathjax deployment that makes it invisible to versioning. would rather keep it in the repo like this if we're going to have it at all, and idk a good way to manage static assets at the root of the domain like this.

@sneakers-the-rat sneakers-the-rat merged commit 5bcd2d1 into dev Dec 1, 2023
62 checks passed
@sneakers-the-rat sneakers-the-rat deleted the hotfix-mathtex-csp branch December 1, 2023 06:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant