Skip to content

Commit 7bc5f23

Browse files
fix: remove no-op replace
Co-authored-by: coderabbitai[bot] <136622811+coderabbitai[bot]@users.noreply.github.com>
1 parent d5ef5f5 commit 7bc5f23

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

server/utils/llm-docs.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -323,8 +323,7 @@ export async function handleOrgLlmsTxt(orgName: string, baseUrl: string): Promis
323323
lines.push('')
324324

325325
for (const pkg of packages) {
326-
const encodedPkg = pkg.replace('/', '/')
327-
lines.push(`- [${pkg}](${baseUrl}/package/${encodedPkg}/llms.txt)`)
326+
lines.push(`- [${pkg}](${baseUrl}/package/${pkg}/llms.txt)`)
328327
}
329328

330329
lines.push('')

0 commit comments

Comments
 (0)