CORS errors with gauge

42 views
Skip to first unread message

Mauro Diamantino

unread,
Aug 3, 2022, 11:51:58 PM8/3/22
to Google Visualization API
Hi, I'm using Google Gauge but sometimes I get CORS errors like the following one:

Access to XMLHttpRequest at 'https://www.gstatic.com/charts/51/css/core/tooltip.css' from origin 'https://sherlock.com.ar' has been blocked by CORS policy: No 'Access-Control-Allow-Origin' header is present on the requested resource.

I attach the javascript file where you can find the code for the generation of the gauges, taking into account this. I've removed the extension to be able to attach the file.

Which could it be the problem? Is a bug in the libraries of the Google visualization charts?
reloj_2
Reply all
Reply to author
Forward
0 new messages