diff options
| author | Fuwn <[email protected]> | 2025-12-01 13:26:12 -0800 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2025-12-01 13:26:12 -0800 |
| commit | ff930d660b37e79ec17394a534f2dbf655097eff (patch) | |
| tree | 99889571068e0e3566f18dd1eee7de3d93886470 /src/routes/api/authentication | |
| parent | deps: Revert to commit 731733e (diff) | |
| download | due.moe-ff930d660b37e79ec17394a534f2dbf655097eff.tar.xz due.moe-ff930d660b37e79ec17394a534f2dbf655097eff.zip | |
fix: Throw redirects
Diffstat (limited to 'src/routes/api/authentication')
| -rw-r--r-- | src/routes/api/authentication/log-out/+server.ts | 2 |
1 files changed, 1 insertions, 1 deletions
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('/')); }; |