diff --git a/src/components/instance-select.astro b/src/components/instance-select.astro index 980fa3f..859227b 100644 --- a/src/components/instance-select.astro +++ b/src/components/instance-select.astro @@ -4,21 +4,10 @@ * Licensed under AGPL v3 or later */ -let instances; -try { - const response = await fetch(new URL("/api/instances", Astro.url)); - instances = await response.json(); -} catch (error) { - console.error("Couln't fetch instances:", error); - instances = []; -} - const { prefilledInstance } = Astro.props; --- - - {instances.map((instance: string) => +