forked from MapComplete/MapComplete
New mapcomplete version
This commit is contained in:
parent
9e4035befc
commit
80f0dbe6e3
171 changed files with 1103 additions and 129 deletions
2
index.ts
2
index.ts
|
@ -28,7 +28,7 @@ if (location.href.startsWith("http://buurtnatuur.be")) {
|
|||
window.location.replace("https://buurtnatuur.be");
|
||||
}
|
||||
|
||||
const testing = QueryParameters.GetQueryParameter("test", "true");
|
||||
let testing = QueryParameters.GetQueryParameter("test", "false");
|
||||
if (location.hostname === "localhost" || location.hostname === "127.0.0.1") {
|
||||
// Set to true if testing and changes should NOT be saved
|
||||
testing.setData(testing.data ?? "true")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue