mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Feat: Add default_lang enviroment variable
This commit is contained in:
parent
bc0beb0f49
commit
eeae168df1
2 changed files with 2 additions and 1 deletions
|
|
@ -13,7 +13,7 @@ export const REPO_URL = 'https://github.com/umami-software/umami';
|
|||
export const UPDATES_URL = 'https://api.umami.is/v1/updates';
|
||||
export const TELEMETRY_PIXEL = 'https://i.umami.is/a.png';
|
||||
|
||||
export const DEFAULT_LOCALE = 'en-US';
|
||||
export const DEFAULT_LOCALE = process.env.defaultLang ?? 'en-US';
|
||||
export const DEFAULT_THEME = 'light';
|
||||
export const DEFAULT_ANIMATION_DURATION = 300;
|
||||
export const DEFAULT_DATE_RANGE = '24hour';
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue