Closed accesstechnology-mike closed 3 months ago
Hello, @accesstechnology-mike
I don't know about your specific use case, but for me, something like this works if I'm redirecting to a different page:
redirect(303, '/my/projects', { type: 'success', title: 'Project created successfully.' }, event);
The complete usage for redirect
is right above the example.
This example doesn't allow for a redirect to another location:
https://github.com/ciscoheat/sveltekit-flash-message?tab=readme-ov-file#form-action-example
Form action example
How do I redirect to another page using this library, within a formaction?