Commit
•
d975e5d
1
Parent(s):
2d350d7
🩹 Actually simpler fix...
Browse files
src/routes/+layout.server.ts
CHANGED
@@ -24,7 +24,7 @@ export const load: LayoutServerLoad = async ({ locals, depends, url, request })
|
|
24 |
);
|
25 |
}
|
26 |
|
27 |
-
throw redirect(
|
28 |
}
|
29 |
|
30 |
const settings = await collections.settings.findOne({ sessionId: locals.sessionId });
|
|
|
24 |
);
|
25 |
}
|
26 |
|
27 |
+
throw redirect(302, url.pathname);
|
28 |
}
|
29 |
|
30 |
const settings = await collections.settings.findOne({ sessionId: locals.sessionId });
|