Server is currently down
This commit is contained in:
parent
4c2ffdb4cf
commit
afd39912fd
2 changed files with 4 additions and 4 deletions
|
@ -30,8 +30,8 @@ async function getAvailableLayers(): Promise<Set<string>> {
|
|||
try {
|
||||
const host = new URL(Constants.VectorTileServer).host
|
||||
const status: { layers: string[] } = await Promise.any([
|
||||
Utils.downloadJson("https://" + host + "/summary/status.json"),
|
||||
timeout(5000)
|
||||
// Utils.downloadJson("https://" + host + "/summary/status.json"),
|
||||
timeout(0)
|
||||
])
|
||||
return new Set<string>(status.layers)
|
||||
} catch (e) {
|
||||
|
|
|
@ -29,8 +29,8 @@ async function getAvailableLayers(): Promise<Set<string>> {
|
|||
try {
|
||||
const host = new URL(Constants.VectorTileServer).host
|
||||
const status = await Promise.any([
|
||||
Utils.downloadJson("https://" + host + "/summary/status.json"),
|
||||
timeout(5000)
|
||||
// Utils.downloadJson("https://" + host + "/summary/status.json"),
|
||||
timeout(0)
|
||||
])
|
||||
return new Set<string>(status.layers)
|
||||
} catch (e) {
|
||||
|
|
Loading…
Reference in a new issue