develop-updateui #1

Merged
lethdat merged 78 commits from develop-updateui into master 2026-04-02 05:59:23 +00:00
Showing only changes of commit 9f521c76f4 - Show all commits

View File

@@ -10,9 +10,9 @@ export const customFetch = async (url: string, options: RequestInit) => {
if (!c) { if (!c) {
throw new Error("Hono context not found in SSR"); throw new Error("Hono context not found in SSR");
} }
Object.entries(c.req.header()).forEach(([k, v]) => { // Object.entries(c.req.header()).forEach(([k, v]) => {
Object.assign(options.headers!, { [k]: v }); // Object.assign(options.headers!, { [k]: v });
}); // });
return await c.get("fetch")(url, options); return await c.get("fetch")(url, options);
} }
return fetch(url, options); return fetch(url, options);