forked from MapComplete/MapComplete
Fix deploy
This commit is contained in:
parent
9c53fe9868
commit
3f8b6e88d3
39 changed files with 381 additions and 562 deletions
2
index.ts
2
index.ts
|
@ -5,7 +5,6 @@ import {InitUiElements} from "./InitUiElements";
|
|||
import {QueryParameters} from "./Logic/Web/QueryParameters";
|
||||
import {UIEventSource} from "./Logic/UIEventSource";
|
||||
import * as $ from "jquery";
|
||||
import {FromJSON} from "./Customizations/JSON/FromJSON";
|
||||
import SharedLayers from "./Customizations/SharedLayers";
|
||||
|
||||
let defaultLayout = "bookcases"
|
||||
|
@ -16,6 +15,7 @@ if (location.href.startsWith("http://buurtnatuur.be")) {
|
|||
window.location.replace("https://buurtnatuur.be");
|
||||
}
|
||||
|
||||
|
||||
if (location.href.indexOf("buurtnatuur.be") >= 0) {
|
||||
// Reload the https version. This is important for the 'locate me' button
|
||||
defaultLayout = "buurtnatuur"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue