sveltejs / svelte.dev

The Svelte omnisite
https://svelte.dev
51 stars 20 forks source link

https://svelte.dev/tutorial should take you to the first tutorial exercise #574

Closed Rich-Harris closed 1 hour ago

Rich-Harris commented 2 hours ago

I just typed this in manually and got a 404

benmccann commented 2 hours 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

Conduitry commented 2 hours ago

https://svelte.dev/tutorial works for me and is a redirect. https://svelte.dev/tutorial/ is a 404.

Rich-Harris commented 2 hours ago

ahhhh yeah i had an ending /

Rich-Harris commented 1 hour ago

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

Rich-Harris commented 1 hour ago

closing in favour of https://github.com/sveltejs/kit/issues/12869