-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Closed
Description
Hi,
The weather example on the website is broken, since most modern browsers down't allow loading content from non-https sites.
p5.min.js:3 Mixed Content:
The page at 'https://p5js.org/examples/demos/Hello_P5_Weather.php' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint
'http://api.openweathermap.org/data/2.5/weather?q=New%20York,NY&units=imperial&APPID=7bbbb47522848e8b9c26ba35c226c734'.
This request has been blocked; the content must be served over HTTPS.
Since it's the less-experienced who are likelier to check the documentation, I imagine this example would only confuse/mislead them.
In case there is any interest in replacing the example (I see the codebase has a spotify example already), I can work on that, if no one else is looking at it. In either case, using something like the following, that serves requests over Https, might be useful:
Metadata
Metadata
Assignees
Labels
No labels