druid-io / druid-io.github.io

Druid Project Website
http://druid.io
61 stars 168 forks source link

Try HTTPS CDN for Font Awesome. #596

Closed gianm closed 5 years ago

gianm commented 5 years ago

I'm seeing errors on Safari:

Failed to load resource: Cross-origin redirection to https://use.fontawesome.com/releases/v5.7.2/css/all.css denied by Cross-Origin Resource Sharing policy: Origin http://druid.io is not allowed by Access-Control-Allow-Origin.

And Chrome:

Access to CSS stylesheet at 'http://use.fontawesome.com/releases/v5.7.2/css/all.css' from origin 'http://druid.io' has been blocked by CORS policy: The response is invalid.

The CORS headers on the CDN look fine to me, but I thought it was suspicious that the Safari error mentioned https (it should have been using http since druid.io is http). I switched the URL from protocol-relative to https to see if this will do anything.