OpenWeather 错误 API

Errors with OpenWeather API

我制作了一个使用 p5.js 的天气预报网络应用程序。它在我的本地主机上完美运行。为什么这个在 github 页面上不断弹出:

Mixed Content: The page at '' was loaded over HTTPS, but requested an insecure XMLHttpRequest endpoint ''. This request has been blocked; the content must be served over HTTPS.

github: https://github.com/VlatkoStojkoski/OpenWeather-API

github 页面:https://vlatkostojkoski.github.io/OpenWeather-API/

问题是 GitHub 页面正在加载使用 http 连接而不是所需 https 的 API 请求。尝试通过安全连接访问 API 服务器,它应该可以正常工作。