mirror of
https://github.com/pocket-id/pocket-id.git
synced 2026-04-02 04:36:37 +00:00
refactor: do not force redirects to happen on the server (#481)
This commit is contained in:
committed by
GitHub
parent
8e66af627a
commit
662506260e
6
frontend/src/routes/settings/+page.ts
Normal file
6
frontend/src/routes/settings/+page.ts
Normal file
@@ -0,0 +1,6 @@
|
||||
import { redirect } from '@sveltejs/kit';
|
||||
import type { PageLoad } from './$types';
|
||||
|
||||
export const load: PageLoad = async () => {
|
||||
throw redirect(307, '/settings/account');
|
||||
}
|
||||
Reference in New Issue
Block a user