diff --git a/frontend/app/page.tsx b/frontend/app/page.tsx index 9f4dd38..6bb60f5 100644 --- a/frontend/app/page.tsx +++ b/frontend/app/page.tsx @@ -1,6 +1,7 @@ import { TieredBandList } from "@/components/home/tiered-band-list" import { Button } from "@/components/ui/button" import Link from "next/link" +import { getApiUrl } from "@/lib/api-config" interface Vertical { id: number @@ -11,7 +12,7 @@ interface Vertical { async function getVerticals(): Promise { try { - const res = await fetch(`${getApiUrl()}/verticals`, { next: { revalidate: 60 } }) + const res = await fetch(`${getApiUrl()}/verticals/`, { next: { revalidate: 60 } }) if (!res.ok) return [] return res.json() } catch {