Merge branch 'master' into develop

This commit is contained in:
Pieter Vander Vennet 2020-09-21 12:11:01 +02:00
commit 77079c88b6
2 changed files with 8 additions and 1 deletions

View file

@ -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"