问题
Today, all of a sudden I started obtaining the following response in my development website:
Refused to execute script from 'https://mts1.googleapis.com/vt?pb=!1m4!1m3!1i8!2i68!3i120!1m4!1m3!1i8!2i68!…12m1!1e47!12m3!1e37!2m1!1ssmartmaps!4e3&callback=_xdc_._pk356f&token=37643' because its MIME type ('image/png') is not executable, and strict MIME type checking is enabled.
This causes the tiles to not be loaded properly and its bugging the website. I've read and searched and found nothing useful on how to fix it.
I've checked my quota in google api console just to make sure is not that I hit the limit or anything but that is not it.
EDIT: Also, this is not only for my development website. It is happening in all websites that I access running the google map api v3.
Any light shed on this would be most helpful.
来源:https://stackoverflow.com/questions/25501862/resource-interpreted-as-script-but-transferred-with-mime-type-image-png