andrewshilliday/garage-door-controller

Browser issue since the migration to HTTPS

Opened this issue · 3 comments

I have just migrated to https/ssl. It works fine from an Android browser, but the doorlist along with the status is not shown in Chrome or IE from a Windows PC.

It seems that, as the "index.html" refers to several HTTP links, they are considered as "not secure" .

<link rel="stylesheet" href="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.css" />
    <script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
    <script src="http://code.jquery.com/mobile/1.2.1/jquery.mobile-1.2.1.min.js"></script>

Do I have to download them to the raspberry or is there another way?
Thanks
Gilles

If you make the links "https" it should work. The files are on the pi in the directories under www. An earlier issue or commit mentioned making the references local so that operating the doors is possible without an internet connection. If you change the links to "/js/jquery-1.8.3.min.js" for example it may work too. I have not done it yet!

<script src="/js/jquery-1.8.3.min.js"></script>
<script src="/js/jquery.mobile-1.2.1.min.js"></script>
<script src="/js/date.format.js"></script>
<script src="/js/client.js"></script>

I don't have to try it. This is in my index.html.