-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
Description
From "@sveltejs/kit": "2.22.3" if I use this code in +layout.ts:
export const load: LayoutLoad = ({ url }) => {
if (some logic) {
// other logic
redirect(302, redirect_url);
}
// other code
};I get this error that I do not understand:
Everything is working fine with 2.22.2.
Reproduction
https://stackblitz.com/edit/sveltejs-kit-template-default-tbzr2tku
Severity
blocking all usage of SvelteKit
Metadata
Metadata
Assignees
Labels
No labels