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) {