From afd39912fde796ece6b4148ddd0ed3b11e3bcb0a Mon Sep 17 00:00:00 2001 From: Pieter Vander Vennet Date: Thu, 28 Mar 2024 19:54:07 +0100 Subject: [PATCH] Server is currently down --- src/index.ts | 4 ++-- src/index_theme.ts.template | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/index.ts b/src/index.ts index a31fff4f6..7ff0e1a61 100644 --- a/src/index.ts +++ b/src/index.ts @@ -30,8 +30,8 @@ async function getAvailableLayers(): Promise> { 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(status.layers) } catch (e) { diff --git a/src/index_theme.ts.template b/src/index_theme.ts.template index 1db4bc7b2..5079901b7 100644 --- a/src/index_theme.ts.template +++ b/src/index_theme.ts.template @@ -29,8 +29,8 @@ async function getAvailableLayers(): Promise> { 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(status.layers) } catch (e) {