Skip to content

Commit efefe99

Browse files
committed
oops
1 parent bd5fa2a commit efefe99

File tree

1 file changed

+3
-3
lines changed
  • apps/svelte.dev/src/routes/docs/[topic]/[...path]/llms-small.txt

1 file changed

+3
-3
lines changed

apps/svelte.dev/src/routes/docs/[topic]/[...path]/llms-small.txt/+server.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,16 @@ export const prerender = true;
77
export function entries() {
88
return [
99
{ topic: 'svelte', path: '' },
10-
{ topic: 'sveltekit', path: '' }
10+
{ topic: 'kit', path: '' }
1111
];
1212
}
1313

1414
export function GET({ params }) {
15-
if ((params.topic !== 'svelte' && params.topic !== 'sveltekit') || params.path) {
15+
if ((params.topic !== 'svelte' && params.topic !== 'kit') || params.path) {
1616
error(404, 'Not Found');
1717
}
1818

19-
const content = params.topic === 'sveltekit' ? sveltekit : svelte;
19+
const content = params.topic === 'kit' ? sveltekit : svelte;
2020

2121
return new Response(content, {
2222
status: 200,

0 commit comments

Comments
 (0)