completionId: cgen-f699c7f411f449f1880a8150bffe7ba9
cgen-f699c7f411f449f1880a8150bffe7ba9
This commit is contained in:
parent
9e246d8515
commit
cec8cd0448
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Reference in a new issue