codeforamerica / codeforamerica.org-archive

The (former) @codeforamerica website
http://archive.codeforamerica.org
Other
176 stars 139 forks source link

CSS fails to load on HTTPS (stylesheet is req'd via insecure method) #1526

Closed kuanb closed 8 years ago

kuanb commented 8 years ago

I was led to main site via click from some other site (I think Google). Either way, I ended up at https://.... Clicking on the "Blog" link from main page led to failed CSS library load on Blog page, since Blog page was trying to serve up relevant CSS via HTTP when site was being accessed via HTTPS.

image

kuanb commented 8 years ago

Perhaps just check window.location.protocol?

davidrleonard commented 8 years ago

Thanks for the bug report!

Fixed in codeforamerica/cfawp2012@95b7092623ff279f9dddfb978a50846d527c4674