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