{"action":"opened","issue":{"url":"https://api.github.com/repos/expressjs/express/issues/3627","repository_url":"https://api.github.com/repos/expressjs/express","labels_url":"https://api.github.com/repos/expressjs/express/issues/3627/labels{/name}","comments_url":"https://api.github.com/repos/expressjs/express/issues/3627/comments","events_url":"https://api.github.com/repos/expressjs/express/issues/3627/events","html_url":"https://github.com/expressjs/express/issues/3627","id":315860591,"number":3627,"title":"Refused to apply stylesheet and execute script because of MIME type","user":{"login":"kaygeeklaas","id":25608189,"avatar_url":"https://avatars3.githubusercontent.com/u/25608189?v=4","gravatar_id":"","url":"https://api.github.com/users/kaygeeklaas","html_url":"https://github.com/kaygeeklaas","followers_url":"https://api.github.com/users/kaygeeklaas/followers","following_url":"https://api.github.com/users/kaygeeklaas/following{/other_user}","gists_url":"https://api.github.com/users/kaygeeklaas/gists{/gist_id}","starred_url":"https://api.github.com/users/kaygeeklaas/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kaygeeklaas/subscriptions","organizations_url":"https://api.github.com/users/kaygeeklaas/orgs","repos_url":"https://api.github.com/users/kaygeeklaas/repos","events_url":"https://api.github.com/users/kaygeeklaas/events{/privacy}","received_events_url":"https://api.github.com/users/kaygeeklaas/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-04-19T12:44:10Z","updated_at":"2018-04-19T12:44:10Z","closed_at":null,"author_association":"NONE","body":"Hi i seem to get the error:\r\n\r\n> **Refused to apply style from 'http://localhost:3000/css/adminstyle.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.**\r\n\r\n<link rel=\"stylesheet\" type=\"text/css\" href=\"/css/adminstyle.css\" />\r\n\r\n> **pages:1 Refused to execute script from 'http://localhost:3000/js/main.js' because its MIME type ('text/html') is not executable, and strict MIME type checking is enabled.**\r\n\r\n<script type=\"application/javascript\" src=\"/js/main.js\"></script>\r\n\r\n\r\nThis  error seems to be happening when loading the stylesheet and script from the localhost as cdn stylesheets and scripts seem to be loading just fine e.g Bootstrap and JQuery\r\n\r\nMy question is how do i disable the strict MIME checking or get the stylesheets and scripts to load because i have been struggling with it the whole day, your help will be much appreciated"}}
{"actor":{"display_login":"kaygeeklaas"}}