Mikhus / canvas-gauges

HTML5 Canvas Gauge. Tiny implementation of highly configurable gauge using pure JavaScript and HTML5 canvas. No dependencies. Suitable for IoT devices because of minimum code base.
http://canvas-gauges.com/
MIT License
1.57k stars 395 forks source link

request blocked as script "gauge.min.js" indicated as insecure script with no HTTPS #250

Closed ramymagdy-rm closed 2 years ago

ramymagdy-rm commented 2 years ago

Hi, including and using gauge.min.js

gives the following console error, upon web app deployment, however, on a live test/localhost testing it passes: Mixed Content: The page at was loaded over HTTPS, but requested an insecure script 'http://cdn.rawgit.com/Mikhus/canvas-gauges/gh-pages/download/2.1.7/all/gauge.min.js'. This request has been blocked; the content must be served over HTTPS.

system configurations: html/ css/ js served over firebase webapp

please let me know if you need further info would you rather suggest using/deploying from the source than including the script into the html?

ramymagdy-rm commented 2 years ago

the issue has been solved upon the inclusion of the canvas into the webpack build bundle