diff options
| author | Pinapelz <yukais@pinapelz.com> | 2025-05-09 23:14:52 -0700 |
|---|---|---|
| committer | Pinapelz <yukais@pinapelz.com> | 2025-05-09 23:14:52 -0700 |
| commit | 47c84bb74d44d8285c68fa1491d01ca3b08f827f (patch) | |
| tree | 04a6c21525085f9127e45372ecd671968605b496 /src/app/page.tsx | |
| parent | dc479feeb17f3615ae8215e1abccce3f787fbeeb (diff) | |
migrate to static API
Diffstat (limited to 'src/app/page.tsx')
| -rw-r--r-- | src/app/page.tsx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app/page.tsx b/src/app/page.tsx index 6d25642..ea687b8 100644 --- a/src/app/page.tsx +++ b/src/app/page.tsx @@ -41,7 +41,7 @@ async function Home() { async function getData() { const apiUrl = process.env.NEXT_PUBLIC_API_URL_TESTING; - const endpoint = "/api/subscribers"; + const endpoint = "/subscribers.json"; const headers = { "Cache-Control": "no-cache", }; |
