I developed a site using drupal 7. Now I migrated the site to another webserver.
The server is getting an error that I can not solve.
In the file ‘core.libraries’ I have the following code:
‘modernizr:
Block the page from being loaded until Modernizr is initialized.
header: true remote: https://github.com/Modernizr/Modernizr license: name: MIT url: http://modernizr.com/license/ gpl-compatible: true version: "v3.3.1" js: ../assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true }’
The resource “****/core/assets/vendor/modernizr/modernizr.min.js?v=3.3.1” was blocked due to the MIME type ("text/html") not matching (X-Content-Type-Options: nosniff).
How can I fix this problem?
Thanks in advance.