DEV Community

Discussion on: How to redirect in SvelteKit endpoints

alexbjorlig profile image
Alex Bjørlig

Is this caused by a bug in sveltekit or?
I mean, should i not work without the header?

danawoodman profile image
Dana Woodman Author

What do you mean a bug? Redirect headers are standard HTTP, routes (e.g. Svelte route files) do this for you if you pass a redirect property in your load response