Skip to content

Commit 97ca71f

Browse files
authored
fix(handbook): redirect root to /latest instead of current version (#112)
The root page was redirecting to /v1000.3.2 (the version marked current) instead of /latest. Visitors to the handbook root should land on /latest.
1 parent b226470 commit 97ca71f

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

handbook/src/routes/+page.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import { redirect } from '@sveltejs/kit'
22
import { resolveHref } from '$lib/resolve-href'
3-
import { currentVersion } from '$lib/versions'
43

54
export function load(): never {
6-
redirect(307, resolveHref(currentVersion.prefix))
5+
redirect(307, resolveHref('/latest'))
76
}

0 commit comments

Comments
 (0)