Skip to content

Commit de5132f

Browse files
committed
Use readme based on your locale
1 parent 514d7af commit de5132f

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

server/api/registry/readme/[...pkg].get.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ async function fetchReadmeFromJsdelivr(
1515
version?: string,
1616
): Promise<string | null> {
1717
const filenames = [
18+
`README.${navigator.language}.md`,
1819
'README.md',
1920
'readme.md',
2021
'Readme.md',

0 commit comments

Comments
 (0)