mirror of
https://github.com/zyphlar/roman-time.git
synced 2024-03-08 13:57:47 +00:00
https redirect for gps
This commit is contained in:
parent
a6cfbb7e41
commit
c836a00bd1
|
@ -301,6 +301,14 @@
|
||||||
|
|
||||||
|
|
||||||
<script language="javascript">
|
<script language="javascript">
|
||||||
|
if(
|
||||||
|
window.location.protocol != 'https:'
|
||||||
|
&& window.location.protocol != 'file:'
|
||||||
|
&& window.location.host != 'localhost'
|
||||||
|
) {
|
||||||
|
location.href = location.href.replace("http://", "https://");
|
||||||
|
}
|
||||||
|
|
||||||
var map = L.map('map').on({
|
var map = L.map('map').on({
|
||||||
click: loadMapCoords
|
click: loadMapCoords
|
||||||
}).setView([0, 0], 10);
|
}).setView([0, 0], 10);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user