Fix index page

This commit is contained in:
pietervdvn 2021-09-29 23:58:17 +02:00
parent a6e8714ae0
commit 0326668e62

View file

@ -321,7 +321,7 @@ export default class State {
);
this.overpassUrl = QueryParameters.GetQueryParameter("overpassUrl",
layoutToUse?.overpassUrl.join(","),
(layoutToUse?.overpassUrl ?? Constants.defaultOverpassUrls).join(",") ,
"Point mapcomplete to a different overpass-instance. Example: https://overpass-api.de/api/interpreter"
).map(param => param.split(","), [], urls => urls.join(","))