We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
来自 “http://test.iyishengyuan.com:3080/yejs/lib/require.js” 的资源已被阻止,因为 MIME 类型不匹配(X-Content-Type-Options: nosniff)
index.html:
with firefox 52.01.1 , in devtools -> network -> header : require.js ---- Content-Type: text/html; charset=utf-8
gulp.task('server', function() { browserSync.init({ server: { baseDir: "./dist/", index: "index.html", directory: true }, ui: false, ghostMode: false, logLevel: "debug", host: '0.0.0.0', port: 3080, open: false }); gulp.watch("src/**/.scss", ['scss-build']); gulp.watch("dist/.html").on('change', reload); });
The text was updated successfully, but these errors were encountered:
Sorry, I made a mistake
Sorry, something went wrong.
No branches or pull requests
Issue details
来自 “http://test.iyishengyuan.com:3080/yejs/lib/require.js” 的资源已被阻止,因为 MIME 类型不匹配(X-Content-Type-Options: nosniff)
Steps to reproduce/test case
index.html:
<script src="yejs/lib/require.js" charset="utf-8" type="text/javascript"></script>with firefox 52.01.1 , in devtools -> network -> header :
require.js ---- Content-Type: text/html; charset=utf-8
Please specify which version of Browsersync, node and npm you're running
Affected platforms
Browsersync use-case
for all other use-cases, (gulp, grunt etc), please show us exactly how you're using Browsersync
gulp.task('server', function() {
browserSync.init({
server: {
baseDir: "./dist/",
index: "index.html",
directory: true
},
ui: false,
ghostMode: false,
logLevel: "debug",
host: '0.0.0.0',
port: 3080,
open: false
});
gulp.watch("src/**/.scss", ['scss-build']);
gulp.watch("dist/.html").on('change', reload);
});
The text was updated successfully, but these errors were encountered: