Closed Rich-Harris closed 1 hour ago
maybe you had a typo? it takes me to https://svelte.dev/tutorial/svelte/welcome-to-svelte
or I wonder if one of us has a cached redirect or something
https://svelte.dev/tutorial works for me and is a redirect. https://svelte.dev/tutorial/ is a 404.
ahhhh yeah i had an ending /
Locally, /tutorial/
redirects. But in production it doesn't. Maybe because that route is prerendered, meaning that when the request bypasses the prerendered stuff and hits the server, it's not included in the server's route manifest. A bug in SvelteKit in other words
closing in favour of https://github.com/sveltejs/kit/issues/12869
I just typed this in manually and got a 404