diff --git a/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts b/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts index 87510918aa..0c7f83db28 100644 --- a/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts +++ b/packages/fdr-sdk/src/navigation/converters/NavigationConfigConverter.ts @@ -23,7 +23,7 @@ export class NavigationConfigConverter { basePath: string | undefined, lexicographic?: boolean, ): FernNavigation.RootNode { - return new NavigationConfigConverter(config, apis, basePath).convert(); + return new NavigationConfigConverter(config, apis, basePath, lexicographic).convert(); } #idgen = new NodeIdGenerator(); diff --git a/packages/fdr-sdk/src/navigation/utils/convertLoadDocsForUrlResponse.ts b/packages/fdr-sdk/src/navigation/utils/convertLoadDocsForUrlResponse.ts index 6af4672b82..f4a6209b0f 100644 --- a/packages/fdr-sdk/src/navigation/utils/convertLoadDocsForUrlResponse.ts +++ b/packages/fdr-sdk/src/navigation/utils/convertLoadDocsForUrlResponse.ts @@ -14,7 +14,7 @@ export function convertLoadDocsForUrlResponse(response: DocsV2Read.LoadDocsForUr function isLexicographicSortEnabled(domain: string): boolean { // HACKHACK: This is a temporary solution to enable lexicographic sorting for AIA docs. // Vercel's edge config UI is broken right now so we can't modify it there. - return domain.startsWith("aia.docs.buildwithfern.com"); + return domain.toLowerCase().includes("aia.docs.buildwithfern.com"); } function hackReorderApis(