From cec8cd04487fccb9b2c2ea9f6c1cd735bf8d0589 Mon Sep 17 00:00:00 2001 From: "Builder.io" Date: Wed, 12 Nov 2025 05:54:40 +0000 Subject: [PATCH] completionId: cgen-f699c7f411f449f1880a8150bffe7ba9 cgen-f699c7f411f449f1880a8150bffe7ba9 --- client/lib/supabase-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/lib/supabase-service.ts b/client/lib/supabase-service.ts index 3beee1ea..e9d14da2 100644 --- a/client/lib/supabase-service.ts +++ b/client/lib/supabase-service.ts @@ -401,7 +401,7 @@ export const communityService = { >, ): Promise { try { - const resp = await fetch(`/api/posts`, { + const resp = await fetch(`${API_BASE}/api/posts`, { method: "POST", headers: { "Content-Type": "application/json" }, body: JSON.stringify(post),