Skip to content

Commit 57db0f1

Browse files
committed
Apply suggestion
1 parent e01ff5c commit 57db0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/services/Elastic.Documentation.Assembler/Building/AssemblerBuildService.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ private static async Task EnhanceLlmsTxtFile(AssembleContext context, GlobalNavi
126126

127127
var existingContent = await readFs.File.ReadAllTextAsync(llmsTxtPath, ctx);
128128
// Assembler always uses the production URL as canonical base URL
129-
var canonicalBaseUrl = new Uri("https://www.elastic.co");
129+
var canonicalBaseUrl = new Uri(context.Environment.Uri);
130130
var navigationSections = enhancer.GenerateNavigationSections(navigation, canonicalBaseUrl);
131131

132132
// Append the navigation sections to the existing boilerplate

0 commit comments

Comments
 (0)