Returning this javascript file with the wrong mime type

Hi,
Cloudflare is returning javascript file with the wrong mime type, serving as text/html and not as application/javascript.

This worked correctly without changing anything.
It only works correctly if I disconnect dns from Cloudflare.
I have added page rules to ignore the cache but it does not seem to work.
What could be the problem.?

403 is a forbidden error. Don’t think the object itself is being returned at all. Is that object available (with the exact URI (https) on the origin server?

Yes, the file is available

Perhaps I mistyped this URL but I get a 403 direct to origin:
curl -Ik https://bigbentortosa.com/contenido/plugins/gravityforms/js/jquery.textareaCounter.plugin.min.js
HTTP/1.1 403 Forbidden
Date: Tue, 11 Sep 2018 18:15:34 GMT
Server: Apache

hi i have same problem, javascript content-type is incorrect. Screenshot by Lightshot
What could be the problem.?

This topic was automatically closed after 31 days. New replies are no longer allowed.