another update

This commit is contained in:
2025-07-24 00:48:27 +03:00
parent dfc8e21db1
commit e0217cbbcb
75 changed files with 5331 additions and 4457 deletions

View File

@@ -13,8 +13,8 @@ export async function proxyFetch(
typeof input === "string"
? input
: input instanceof Request
? input.url
: "";
? input.url
: "";
const proxyUrl = `/api/proxy?url=${encodeURIComponent(url)}`;
// fix headers
@@ -25,7 +25,7 @@ export async function proxyFetch(
...init,
method: init?.method || "GET",
headers,
body: init?.body,
body: init?.body
};
return window.fetch(proxyUrl, fetchInit);