Chrome says "Resource interpreted as script but transferred with MIME type text/plain.", what gives? -


in ff , all, javascript works fine. in chrome gives message:

resource interpreted script transferred mime type text/plain.

i have checked script tags , have mime type="text/javascript". says jquery , jquery ui. wrong chrome?

what's problem , fix this? have change in 'options' of browser or server, or have tweak code?

it means server sending javascript http response with

content-type: text/plain 

you need configure server send javascript response with

content-type: application/javascript 

Comments

Popular posts from this blog

commonjs - How to write a typescript definition file for a node module that exports a function? -

openid - Okta: Failed to get authorization code through API call -

ios - Change Storyboard View using Seague -