gulp-livereload icon indicating copy to clipboard operation
gulp-livereload copied to clipboard

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

Open k7y6t5 opened this issue 3 years ago • 0 comments

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

k7y6t5 avatar Aug 22 '22 15:08 k7y6t5