mirror of
https://github.com/umami-software/umami.git
synced 2026-02-15 01:55:36 +01:00
Updated handling of env vars.
This commit is contained in:
parent
f42a99cf7e
commit
98a0a83ccf
13 changed files with 29 additions and 25 deletions
|
|
@ -27,7 +27,7 @@ export function CountriesTable({
|
|||
label={formatCountry(code)}
|
||||
>
|
||||
<img
|
||||
src={`${process.env.basePath}/images/flags/${code?.toLowerCase() || 'xx'}.png`}
|
||||
src={`${process.env.basePath || ''}/images/flags/${code?.toLowerCase() || 'xx'}.png`}
|
||||
alt={code}
|
||||
/>
|
||||
</FilterLink>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue