andrewshilliday / garage-door-controller

Software to monitor and control garage doors via a raspberry pi
MIT License
327 stars 132 forks source link

Browser issue since the migration to HTTPS #93

Open Gilles94500 opened 6 years ago

Gilles94500 commented 6 years ago

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

Michael-W commented 6 years ago

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!

Michael-W commented 6 years ago




I don't have to try it. This is in my index.html.
Gilles94500 commented 6 years ago

Thanks Michael,

I will update the www (sub)directories then.

I had not been noticed about the commit. I need to check my github settings :).

Gilles

From: Michael Wetmore [mailto:notifications@github.com] Sent: lundi 25 juin 2018 21:45 To: andrewshilliday/garage-door-controller garage-door-controller@noreply.github.com Cc: Gilles94500 gilles.sapene@laposte.net; Author author@noreply.github.com Subject: Re: [andrewshilliday/garage-door-controller] Browser issue since the migration to HTTPS (#93)

If you make the links "https" it should work. The files are on the pi in the directories under www http://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 "www/js/jquery-1.8.3.min.js" for example it may work too. I have not done it yet!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/andrewshilliday/garage-door-controller/issues/93#issuecomment-400072107 , or mute the thread https://github.com/notifications/unsubscribe-auth/AQHIgQKqm-Pi1WhqrHJd1my0_6KZxPe-ks5uAT3TgaJpZM4U2RSF . https://github.com/notifications/beacon/AQHIgRID-L7shtrfsXbhK0l057rdQ_1Pks5uAT3TgaJpZM4U2RSF.gif