Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How can i change MIME type? #63

Closed
BerkayAkgurgen opened this issue Sep 24, 2021 · 1 comment
Closed

How can i change MIME type? #63

BerkayAkgurgen opened this issue Sep 24, 2021 · 1 comment

Comments

@BerkayAkgurgen
Copy link

I can get this error line at the consol: The script from “https://blabla.com” was loaded even though its MIME type (“application/json”) is not a valid JavaScript MIME type. How can ı fix it?

@camsong
Copy link
Owner

camsong commented Nov 2, 2021

It seems the server responded a JSON instead of a script, you should check the server code, fetch-jsonp can not do this.

@camsong camsong closed this as completed Nov 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants