forked from MapComplete/MapComplete
Chore: housekeeping
This commit is contained in:
parent
cd9e03dd6f
commit
b300fffdc5
156 changed files with 4436 additions and 1318 deletions
|
|
@ -3,10 +3,9 @@ import Constants from "./Models/Constants"
|
|||
|
||||
console.log("Authorizing...")
|
||||
const key = Constants.osmAuthConfig.url + "oauth2_state"
|
||||
const st =window.localStorage.getItem(key )
|
||||
console.log("Prev state is",key, st)
|
||||
const st = window.localStorage.getItem(key)
|
||||
console.log("Prev state is", key, st)
|
||||
new OsmConnection().finishLogin((previousURL) => {
|
||||
|
||||
const fallback = window.location.protocol + "//" + window.location.host + "/index.html"
|
||||
previousURL ??= fallback
|
||||
if (previousURL.indexOf("/land") > 0) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue