rev7 - Kicad!

This commit is contained in:
Will Toohey
2018-10-29 22:25:02 +10:00
parent 5bfbd86b63
commit eb0c5dddba
58 changed files with 105556 additions and 61881 deletions
+11
View File
@@ -0,0 +1,11 @@
RewriteEngine On
# If we receive a forwarded http request from a proxy...
RewriteCond %{HTTP:X-Forwarded-Proto} =http [OR]
# ...or just a plain old http request directly from the client
RewriteCond %{HTTP:X-Forwarded-Proto} =""
RewriteCond %{HTTPS} !=on
# Redirect to https version
RewriteRule ^ https://%{HTTP_HOST}%{REQUEST_URI} [L,R=301]
-4
View File
@@ -11,10 +11,6 @@
<script type="text/javascript" src="js/md5.min.js"></script>
<script type="text/javascript" src="js/jscolor.min.js"></script>
<script type="text/javascript">
// because I am bad
if (location.protocol != 'https:' && location.hostname != "localhost" && location.hostname != "127.0.0.1") {
location.href = 'https:' + window.location.href.substring(window.location.protocol.length);
}
window.addEventListener("load", function() {
UsbWrapper_init();
if(UsbWrapper.hasUSB) {