completionId: cgen-f699c7f411f449f1880a8150bffe7ba9

cgen-f699c7f411f449f1880a8150bffe7ba9
This commit is contained in:
Builder.io 2025-11-12 05:54:40 +00:00
parent 9e246d8515
commit cec8cd0448

View file

@ -401,7 +401,7 @@ export const communityService = {
>,
): Promise<CommunityPost> {
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),