From ff930d660b37e79ec17394a534f2dbf655097eff Mon Sep 17 00:00:00 2001 From: Fuwn Date: Mon, 1 Dec 2025 13:26:12 -0800 Subject: fix: Throw redirects --- src/routes/api/authentication/log-out/+server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/routes/api/authentication/log-out') diff --git a/src/routes/api/authentication/log-out/+server.ts b/src/routes/api/authentication/log-out/+server.ts index 26b5dd2c..305c846f 100644 --- a/src/routes/api/authentication/log-out/+server.ts +++ b/src/routes/api/authentication/log-out/+server.ts @@ -11,5 +11,5 @@ export const GET = ({ cookies }) => { secure: false }); - redirect(303, root('/')); + throw redirect(303, root('/')); }; -- cgit v1.2.3