1
0
mirror of https://github.com/pocket-id/pocket-id.git synced 2026-02-15 02:55:14 +00:00

refactor: do not force redirects to happen on the server (#481)

This commit is contained in:
Alessandro (Ale) Segala
2025-04-25 04:09:52 +09:00
committed by GitHub
parent 8e66af627a
commit 662506260e
10 changed files with 31 additions and 26 deletions

View File

@@ -1,5 +1,6 @@
import { redirect } from '@sveltejs/kit';
import type { PageLoad } from './$types';
export function load() {
export const load: PageLoad = async () => {
throw redirect(307, '/settings/account');
}