mirror of
https://github.com/Litlyx/litlyx
synced 2025-12-10 07:48:37 +01:00
fix flags
This commit is contained in:
@@ -6,7 +6,8 @@ function iconProvider(e: { _id: string, flag: string, count: number }): ReturnTy
|
|||||||
if (!e.flag) return ['icon', 'far fa-question']
|
if (!e.flag) return ['icon', 'far fa-question']
|
||||||
return [
|
return [
|
||||||
'img',
|
'img',
|
||||||
`https://raw.githubusercontent.com/hampusborgos/country-flags/main/png250px/${e.flag.toLowerCase()}.png`
|
`https://raw.githubusercontent.com/hampusborgos/country-flags/refs/heads/main/svg/${e.flag.toLowerCase()}.svg`
|
||||||
|
// `https://raw.githubusercontent.com/hampusborgos/country-flags/main/png250px/${e.flag.toLowerCase()}.png`
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user