fix: auth on homepage

This commit is contained in:
2026-06-26 14:23:25 +02:00
parent 862b12c444
commit b80ad26a15
+1
View File
@@ -63,6 +63,7 @@ const handleBetterAuth: Handle = async ({ event, resolve }) => {
event.locals.session = session.session;
event.locals.user = session.user;
} else if (
event.url.pathname !== "/" &&
!event.url.pathname.startsWith('/auth') &&
!event.url.pathname.startsWith('/api/auth') &&
event.url.pathname !== '/install.sh'