codeforamerica / fellows-map

fellowship map
http://codeforamerica.github.io/fellows-map
9 stars 4 forks source link

make it work over https #17

Closed techieshark closed 9 years ago

techieshark commented 9 years ago

I see a blank screen when looking at this at https://codeforamerica.github.io/fellows-map/ (I'm using the 'https everywhere' chrome extension so it redirects to https).

Here are the errors I see:

codeforamerica.github.io/:6 Mixed Content: The page at 'https://codeforamerica.github.io/fellows-map/' was loaded over HTTPS, but requested an insecure stylesheet 'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.css'. This request has been blocked; the content must be served over HTTPS.
codeforamerica.github.io/:1 Mixed Content: The page at 'https://codeforamerica.github.io/fellows-map/' was loaded over HTTPS, but requested an insecure script 'http://cdn.leafletjs.com/leaflet-0.7.3/leaflet.js'. This request has been blocked; the content must be served over HTTPS.
codeforamerica.github.io/:12 Mixed Content: The page at 'https://codeforamerica.github.io/fellows-map/' was loaded over HTTPS, but requested an insecure stylesheet 'http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700'. This request has been blocked; the content must be served over HTTPS.
cluster.js:10 Uncaught ReferenceError: L is not defined
fellows-map.js:98 Uncaught ReferenceError: L is not defined

You should be able to just update which CDN you use (see https://cdnjs.com/libraries/leaflet for https leaflet CDN, and just add the s to get Google fonts over https: https://fonts.googleapis.com/css?family=Source+Sans+Pro:300,400,700).

mapsam commented 9 years ago

Good idea!

techieshark commented 9 years ago

That did it. Thanks!