mirror of
https://github.com/BeamMP/BeamMP-Website.git
synced 2026-10-21 07:46:50 +00:00
fix flags for languages
This commit is contained in:
1 parent
13e36d5bc3
commit
c2e37eea5a
3 files changed
+5
-4
No files matched your search
@@ -38,7 +38,8 @@ const toggleDropdown = () => {
|
||||
}
|
||||
|
||||
const getFlagUrl = (flagName) => {
|
||||
return new URL(`../assets/flags/${flagName}.png`, import.meta.url).href
|
||||
//return new URL(`../assets/flags/${flagName}.png`, import.meta.url).href
|
||||
return `/flags/${flagName}.png`
|
||||
}
|
||||
|
||||
onMounted(async () => {
|
||||
|
||||
Reference in new issue
Block a user