forked from MapComplete/MapComplete
Merge branch 'master' into develop
This commit is contained in:
commit
77079c88b6
2 changed files with 8 additions and 1 deletions
6
index.ts
6
index.ts
|
@ -18,6 +18,12 @@ if (location.href.startsWith("http://buurtnatuur.be")) {
|
|||
window.location.replace("https://buurtnatuur.be");
|
||||
}
|
||||
|
||||
let defaultLayout = "bookcases"
|
||||
if (location.href.indexOf("buurtnatuur.be") >= 0) {
|
||||
// Reload the https version. This is important for the 'locate me' button
|
||||
defaultLayout = "buurtnatuur"
|
||||
}
|
||||
|
||||
|
||||
if (location.href.indexOf("buurtnatuur.be") >= 0) {
|
||||
defaultLayout = "buurtnatuur"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue