Shared:Utils: bug fix TypeError: fetch failed
This commit is contained in:
parent
af94190309
commit
55840596be
@ -54,6 +54,7 @@ export const createRequest = (
|
||||
body?: string,
|
||||
) => {
|
||||
const hdrs = new Headers(headers());
|
||||
hdrs.delete("content-length");
|
||||
const cookieStore = cookies();
|
||||
|
||||
const apiURL = getAPIUrl();
|
||||
|
Loading…
Reference in New Issue
Block a user