0

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.

1
  • 1
    It seems like the file doesn’t exist or there is some other problem. Drupal or the web server are returning an HTML page with the error.
    – cilefen
    May 18 at 11:26

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.