mirror of
https://github.com/serratus/quaggaJS.git
synced 2026-08-13 13:51:37 +08:00
Fixed HTTPS Redirect
This commit is contained in:
@@ -20,7 +20,7 @@
|
||||
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
|
||||
<![endif]-->
|
||||
<script>
|
||||
var host = "{{ site.url }}";
|
||||
var host = "{{ site.host }}";
|
||||
if ((host == window.location.host) && (window.location.protocol != "https:")) {
|
||||
window.location.protocol = "https";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user