From 96a58233fdc59c2e09b83b533e23f68c6dbd13b8 Mon Sep 17 00:00:00 2001 From: nate Date: Thu, 19 Mar 2026 10:08:20 +0400 Subject: [PATCH] fix: flashbang --- apps/web/src/routes/auth.ts | 2 +- apps/web/src/routes/dashboard.ts | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/web/src/routes/auth.ts b/apps/web/src/routes/auth.ts index 738de8e..c1d155c 100644 --- a/apps/web/src/routes/auth.ts +++ b/apps/web/src/routes/auth.ts @@ -7,7 +7,7 @@ const EMAIL_HMAC_KEY = process.env.EMAIL_HMAC_KEY || "pingql-default-hmac-key"; function redir(to: string) { return new Response( - ``, + ``, { headers: { "content-type": "text/html; charset=utf-8", "cache-control": "no-store" } }, ); } diff --git a/apps/web/src/routes/dashboard.ts b/apps/web/src/routes/dashboard.ts index 4feb715..647f7cf 100644 --- a/apps/web/src/routes/dashboard.ts +++ b/apps/web/src/routes/dashboard.ts @@ -112,7 +112,7 @@ export function html(template: string, data: Record = {}) { function redirect(to: string) { return new Response( - ``, + ``, { headers: { "content-type": "text/html; charset=utf-8", "cache-control": "no-store" } }, ); }