www: fix docs returning 500 (#1523)
This commit is contained in:
+1
-1
@@ -72,7 +72,7 @@ for (const version in toc) {
|
|||||||
? linkedVersion.slice("link:".length)
|
? linkedVersion.slice("link:".length)
|
||||||
: version;
|
: version;
|
||||||
const versionFilePath = !pageVersion || pageVersion === LATEST_VERSION
|
const versionFilePath = !pageVersion || pageVersion === LATEST_VERSION
|
||||||
? ""
|
? "/latest"
|
||||||
: `/${pageVersion}`;
|
: `/${pageVersion}`;
|
||||||
|
|
||||||
const href = `/docs${versionSlug}/${slug}`;
|
const href = `/docs${versionSlug}/${slug}`;
|
||||||
|
|||||||
Reference in New Issue
Block a user