fix: build issues

This commit is contained in:
Nicolas Meienberger
2025-10-03 20:19:54 +02:00
parent 7784389b57
commit 5f003fe69d
11 changed files with 314 additions and 314 deletions

View File

@@ -8,7 +8,7 @@ export const authMiddleware: MiddlewareFunction = async ({ context }) => {
if (!session.data?.user.id) {
const status = await getStatus();
if (!status.data?.hasUsers) {
throw redirect("/register");
throw redirect("/onboarding");
}
throw redirect("/login");