aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/authentication/log-out/+server.ts
diff options
context:
space:
mode:
authorFuwn <[email protected]>2025-06-09 20:24:57 -0700
committerFuwn <[email protected]>2025-06-09 20:24:57 -0700
commit7833f8738258e0db2c1acc858e06968771053028 (patch)
tree60835afeb035f66317bad181e4c92372a2f0a524 /src/routes/api/authentication/log-out/+server.ts
parentfix(List): Display filtered media list length (diff)
downloaddue.moe-7833f8738258e0db2c1acc858e06968771053028.tar.xz
due.moe-7833f8738258e0db2c1acc858e06968771053028.zip
deps(SvelteKit): Migrate to SvelteKit 2
Diffstat (limited to 'src/routes/api/authentication/log-out/+server.ts')
-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 305c846f..26b5dd2c 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
});
- throw redirect(303, root('/'));
+ redirect(303, root('/'));
};