New-Mexico-Water-Resources / Water-Rights-Visualizer

New Mexico Water Rights Visualizer
1 stars 2 forks source link

convert client-side requests to https #25

Closed scottdavidoff closed 4 months ago

scottdavidoff commented 4 months ago

now that the app is served over https, the current javascript client needs to also make its requests using https

when the client is using http requests I can see the following errors


progress.html:1 Mixed Content: The page at 'https://nmw-dev.jpl.nasa.gov/progress.html?name=Example' was loaded over HTTPS, but requested an insecure element 'http://mt2.google.com/vt/lyrs=s&x=1&y=1&z=2'. This request was automatically upgraded to HTTPS, For more information see https://blog.chromium.org/2019/10/no-more-mixed-messages-about-https.html
scottdavidoff commented 4 months ago

we worked through this issue together, and found the one place in the code where it needs to be changed.