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.

Home Page:http://canvas-gauges.com/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

ramymagdy-rm opened this issue · comments

Hi, including and using gauge.min.js
<script src="http://cdn.rawgit.com/Mikhus/canvas-gauges/gh-pages/download/2.1.7/all/gauge.min.js"></script>

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?

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