5 years ago

Laravel 4.2 / Homestead 2.0.6 mime types issue

Posted 5 years ago by youkaihiei

Hey there!

After about a day of trying to figure this out I'm stumped. Basically I have a laravel application (4.2) on Homstead 2.0 and when I try loading javascript assets they're being sent from the server with the wrong mime type; for example loading jQuery from the site doesn't work and the console says "Resource interpreted as Script but transferred with MIME type text/html: " but using the CDN works. It sounds like the same issue this guy is having except I haven't moved the project from OSX to Windows.

Any help figuring out whats up with that would be greatly appreciated :)

Please sign in or create an account to participate in this conversation.