aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/authentication
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-12-01 13:26:12 -0800
committerFuwn <[email protected]>2025-12-01 13:26:12 -0800
commitff930d660b37e79ec17394a534f2dbf655097eff (patch)
tree99889571068e0e3566f18dd1eee7de3d93886470 /src/routes/api/authentication
parentdeps: Revert to commit 731733e (diff)
downloaddue.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.ts2
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('/'));
};