I would like to suggest replacing hard-coded HTTP URLs in the <head> of the html pages contained in the latest OpenGarage firmware (v1.0.7) with the protocol-relative version. This is useful to be able to access the embedded web server through a proxy that enforces SSL encryption (and, if desired, additional password protection).
That is, instead replace these lines of the current code in files ap_home.html, sta_home.html, sta_logs.html, sta_options.html, sta_update.html:
<head>
<title>OpenGarage</title>
<meta name=’viewport’ content=’width=device-width, initial-scale=1′>
<link rel=’stylesheet’ href=’http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css’ type=’text/css’>
<script src=’http://code.jquery.com/jquery-1.9.1.min.js’ type=’text/javascript’></script>
<script src=’http://code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js’ type=’text/javascript’></script>
</head>
with these lines:
<head>
<title>OpenGarage</title>
<meta name=’viewport’ content=’width=device-width, initial-scale=1′>
<link rel=’stylesheet’ href=’//code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.css’ type=’text/css’>
<script src=’//code.jquery.com/jquery-1.9.1.min.js’ type=’text/javascript’></script>
<script src=’//code.jquery.com/mobile/1.3.1/jquery.mobile-1.3.1.min.js’ type=’text/javascript’></script>
</head>
I have already made these changes in my local version (then running gen_htmls.sh before recompiling) and it works perfectly. I suggest this because it may be useful for others (and to those who will not use it the change will make no difference).
Also, note that the current code in the file gen_htmls.sh calls html2esp, when that program is now called html2raw.