🐛 fix: proxy requests through the web origin

This commit is contained in:
2026-08-13 02:19:14 +07:00
parent 1742f7321d
commit 83e52af412
7 changed files with 34 additions and 13 deletions
+1 -1
View File
@@ -4,7 +4,7 @@ import { redirect } from "next/navigation";
export const dynamic = "force-dynamic";
const apiUrl = process.env.NEXT_PUBLIC_API_URL || "http://localhost:3000";
const apiUrl = process.env.API_URL || "http://localhost:3000";
const api = treaty<App>(apiUrl);
export default async function HomePage() {