Skip to content

The only tool you need to know what is happening and how to fix it.

183 B
Raw Blame
import { redirect } from '@sveltejs/kit';
import type { PageLoad } from './$types';

export const load: PageLoad = ({ url }) => {
	throw redirect(301, '/dashboards' + url.search);
};