mirror of
https://github.com/zyphlar/roman-time.git
synced 2026-12-01 21:19:07 +00:00
https redirect for gps
This commit is contained in:
1 file changed
+8
@@ -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);
|
||||||
|
|||||||
Reference in new issue
Block a user