Skip to content

One self-hosted app for your shows, movies and music.

334 B
Raw Blame
import { redirect } from '@sveltejs/kit';
import { to } from '#lib/core/paths.ts';

// My account is one page inside Settings; /account keeps working and keeps its query, such as ?sso=finish after linking single sign-on.
export function load({ url }: { url: URL }) {
	redirect(307, to('/settings/account') + url.search + url.hash);
}