From c185ddfb78d9addda0fcd550164bb7dfce37a0b2 Mon Sep 17 00:00:00 2001 From: Heat Hamilton <55773810+heatlikeheatwave@users.noreply.github.com> Date: Mon, 23 Sep 2024 13:10:43 -0400 Subject: [PATCH] bug fix: Change versions to validVersions to prevent 404s (#2575) Change versions to validVersions to prevent 404s --- src/views/docs-view/server.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/views/docs-view/server.ts b/src/views/docs-view/server.ts index 18fe0184c7..68b78ea41b 100644 --- a/src/views/docs-view/server.ts +++ b/src/views/docs-view/server.ts @@ -440,7 +440,7 @@ export function getStaticGenerationFunctions< }, projectName: projectName || null, versions: - !hideVersionSelector && hasMeaningfulVersions ? versions : null, + !hideVersionSelector && hasMeaningfulVersions ? validVersions : null, } return {