Closed benmccann closed 2 years ago
There's no 404 handling for the docs: https://github.com/sveltejs/api.svelte.dev/blob/master/src/routes/docs.ts
This line returns a 200: https://github.com/sveltejs/sites/blob/1c83a81d3957812a2986c6c50667d3cfca790980/sites/svelte.dev/src/routes/blog/%5Bslug%5D.svelte#L5
And so https://svelte.dev/blog/foobar returns a 500 rather than a 404
There's no 404 handling for the docs: https://github.com/sveltejs/api.svelte.dev/blob/master/src/routes/docs.ts
This line returns a 200: https://github.com/sveltejs/sites/blob/1c83a81d3957812a2986c6c50667d3cfca790980/sites/svelte.dev/src/routes/blog/%5Bslug%5D.svelte#L5
And so https://svelte.dev/blog/foobar returns a 500 rather than a 404