We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bd5fa2a commit efefe99Copy full SHA for efefe99
apps/svelte.dev/src/routes/docs/[topic]/[...path]/llms-small.txt/+server.ts
@@ -7,16 +7,16 @@ export const prerender = true;
7
export function entries() {
8
return [
9
{ topic: 'svelte', path: '' },
10
- { topic: 'sveltekit', path: '' }
+ { topic: 'kit', path: '' }
11
];
12
}
13
14
export function GET({ params }) {
15
- if ((params.topic !== 'svelte' && params.topic !== 'sveltekit') || params.path) {
+ if ((params.topic !== 'svelte' && params.topic !== 'kit') || params.path) {
16
error(404, 'Not Found');
17
18
19
- const content = params.topic === 'sveltekit' ? sveltekit : svelte;
+ const content = params.topic === 'kit' ? sveltekit : svelte;
20
21
return new Response(content, {
22
status: 200,
0 commit comments