forked from MapComplete/MapComplete
Refactoring: fix metatagging
This commit is contained in:
parent
177697fe0a
commit
8fd3fbc0b7
34 changed files with 378 additions and 265 deletions
2
Utils.ts
2
Utils.ts
|
@ -1169,7 +1169,7 @@ In the case that MapComplete is pointed to the testing grounds, the edit will be
|
|||
if (typeof window === "undefined") {
|
||||
return "https://mapcomplete.osm.be"
|
||||
}
|
||||
const path = window.location.href.split("/")
|
||||
const path = (window.location.protocol+ window.location.host + window.location.pathname) .split("/")
|
||||
path.pop()
|
||||
path.push("index.html")
|
||||
return path.join("/")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue