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

livereload.js MIME type issue - text/html instead of application/javascript #148

Open
k7y6t5 opened this issue Aug 22, 2022 · 0 comments
Open

Comments

@k7y6t5
Copy link

k7y6t5 commented Aug 22, 2022

I've just implemented X-Content-Type-Options "nosniff" and see that livereload.js can't be run because it's being served as MIME type text/html instead of application/javascript.

Screen Shot 2022-08-22 at 11 32 23

This is at the top of my .htaccess: AddType application/javascript js jsonp

gulp-livereload v4.0.2
node v18.4.0

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

No branches or pull requests

1 participant