From 8be8505728fb4952ef518f75395c44d60184848e Mon Sep 17 00:00:00 2001 From: "Brian H. Buchholz" <4773480+bhb603@users.noreply.github.com> Date: Thu, 21 Nov 2024 21:06:34 -0500 Subject: [PATCH] fix typo --- www/routes/docs/[[version]]/[...slug].tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/www/routes/docs/[[version]]/[...slug].tsx b/www/routes/docs/[[version]]/[...slug].tsx index e1dea26de83..7a12d38a836 100644 --- a/www/routes/docs/[[version]]/[...slug].tsx +++ b/www/routes/docs/[[version]]/[...slug].tsx @@ -46,7 +46,7 @@ export const handler = define.handlers({ async GET(ctx) { const { slug, version: versionFromPath } = ctx.params; - // If no slug is specfied and versionFromPath is valid, redirect to the first page of that version + // If no slug is specified and versionFromPath is valid, redirect to the first page of that version // E.g. /docs/latest redirects to /docs/latest/{first-page} if (!slug && TABLE_OF_CONTENTS[versionFromPath]) { const href = getFirstPageUrl(versionFromPath);