aboutsummaryrefslogtreecommitdiff
path: root/src/routes/api/authentication
diff options
context:
space:
mode:
authorFuwn <[email protected]>2026-01-22 20:09:42 -0800
committerFuwn <[email protected]>2026-01-22 20:09:42 -0800
commit13c9d0f53c5a65b6e5f8f5c45343f1589521002b (patch)
treefd6b89e442f79f9b1344fc197c07942ac61cfcd0 /src/routes/api/authentication
parentrefactor(configuration): Replace svelte-preprocess with vitePrepreocess (diff)
downloaddue.moe-13c9d0f53c5a65b6e5f8f5c45343f1589521002b.tar.xz
due.moe-13c9d0f53c5a65b6e5f8f5c45343f1589521002b.zip
deps(sveltekit): Migrate to SvelteKit 2
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 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('/'));
};