Closed JustMrMendez closed 9 months ago
Updated documentation to align with SvelteKit 2's redirect syntax. Changes involve simplifying the redirect command by removing the throw statement.
throw
throw redirect("/login");
redirect("/login");
Thanks!
Description
Updated documentation to align with SvelteKit 2's redirect syntax. Changes involve simplifying the redirect command by removing the
throw
statement.Changes
throw redirect("/login");
withredirect("/login");
.