forked from MapComplete/MapComplete
Small fixes
This commit is contained in:
parent
6d4f5a50f2
commit
3e6def36b8
6 changed files with 32 additions and 14 deletions
5
index.ts
5
index.ts
|
@ -25,10 +25,10 @@ let dryRun = false;
|
|||
if (location.hostname === "localhost" || location.hostname === "127.0.0.1") {
|
||||
|
||||
// Set to true if testing and changes should NOT be saved
|
||||
dryRun = true;
|
||||
// dryRun = true;
|
||||
// If you have a testfile somewhere, enable this to spoof overpass
|
||||
// This should be hosted independantly, e.g. with `cd assets; webfsd -p 8080` + a CORS plugin to disable cors rules
|
||||
Overpass.testUrl = "http://127.0.0.1:8080/test.json";
|
||||
// Overpass.testUrl = "http://127.0.0.1:8080/test.json";
|
||||
}
|
||||
|
||||
|
||||
|
@ -143,6 +143,7 @@ new StrayClickHandler(bm, selectedElement, leftMessage, () => {
|
|||
bm.LastClickLocation,
|
||||
changes,
|
||||
selectedElement,
|
||||
layerUpdater.runningQuery,
|
||||
addButtons);
|
||||
}
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue