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

Add back alt js mime for backwards compatibility #13

Merged
merged 1 commit into from
Jul 16, 2024

Conversation

paul-hansen
Copy link
Contributor

I noticed while reviewing the latest changes that in b55342e all instances of application/javascript were changed to be text/javascript, but text/javascript was already there in several places in addition toapplication/javascript so now it's duplicated.

Example:

"text/javascript",
"text/javascript",

I think the after noticing that it was already including both in some places you would want to instead simply add text/javascript to the one place it was missing. That's the most backwards compatible and what I did in this PR. It wouldn't bother me if you wanted to just remove the duplicates instead, I just made the PR to save you some time so I did what I thought you'd want.

@marlonbaeten marlonbaeten merged commit c9d99ed into tweedegolf:main Jul 16, 2024
8 checks passed
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.

2 participants