Skip to content

Commit d090766

Browse files
Refactor
Co-authored-by: qodo-merge-pro-for-open-source[bot] <189517486+qodo-merge-pro-for-open-source[bot]@users.noreply.github.com>
1 parent 996a682 commit d090766

File tree

1 file changed

+1
-1
lines changed
  • frontend/apps/docs/app/docs/llms.txt

1 file changed

+1
-1
lines changed

frontend/apps/docs/app/docs/llms.txt/route.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ const getContents = (dirPath: string): MDXFile[] => {
5454
const relativePath = path
5555
.relative(path.resolve(process.cwd(), 'content/docs'), filePath)
5656
.replace(/(\/?index)?\.mdx$/, '')
57-
const url = `${baseUrl}/docs/${relativePath}`
57+
const url = new URL(`docs/${relativePath}`, baseUrl).toString()
5858

5959
results.push({
6060
path: relativePath,

0 commit comments

Comments
 (0)