diff --git a/apps/api/src/routers/public.ts b/apps/api/src/routers/public.ts index ca37bd8..dc5b8ac 100644 --- a/apps/api/src/routers/public.ts +++ b/apps/api/src/routers/public.ts @@ -160,7 +160,7 @@ const getOrgIconHandler = factory.createHandlers(async (c) => { return c.redirect(defaultPath, 302); } - return new Response(result.buffer, { + return new Response(new Uint8Array(result.buffer), { headers: { "Content-Type": result.contentType, "Cache-Control": "public, max-age=86400",