gulp-community / gulp-livereload

gulp plugin for livereload
768 stars 67 forks source link

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

Open k7y6t5 opened 2 years ago

k7y6t5 commented 2 years ago

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