The resource from “http://localhost:3000/script.js” was blocked due to MIME type (“text/html”) mismatch (X-Content-Type-Options: nosniff)

前端 未结 0 546
忘了有多久
忘了有多久 2021-01-27 20:47

I am trying to transfer all the JavaScript to a separate js file and then adding that js file to the html like the usual practice. But console shows the following error -

相关标签:
回答
  • 消灭零回复
提交回复
热议问题