diff --git a/functions/t/[slug].ts b/functions/t/[slug].ts index 7d6ef17..f52e6ea 100644 --- a/functions/t/[slug].ts +++ b/functions/t/[slug].ts @@ -9,8 +9,7 @@ export async function onRequestGet({ return new Response('Not Found', { status: 404 }); } - const content = await response.text(); - return new Response(content, { + return new Response(response.body, { headers: { 'Content-Type': 'text/html' }, }); }