feat: add default routes

This commit is contained in:
EETagent 2022-12-05 15:05:28 +01:00
parent 5096f8ddca
commit 3b31406ed3
2 changed files with 12 additions and 0 deletions

View file

@ -0,0 +1,6 @@
import { redirect } from "@sveltejs/kit";
import type { PageLoad } from "./$types";
export const load: PageLoad = () => {
throw redirect(302, "/admin/auth/login")
}

View file

@ -0,0 +1,6 @@
import { redirect } from "@sveltejs/kit";
import type { PageLoad } from "./$types";
export const load: PageLoad = () => {
throw redirect(302, "/auth/login")
}