Zmiana aplikacji na wersje lang
This commit is contained in:
@@ -11,9 +11,15 @@ export const endpoints = {
|
||||
gusLookup: cfg.endpoints?.gusLookup || "../api/gus_lookup.php",
|
||||
kds: cfg.endpoints?.kds || "../api/kds.php",
|
||||
bills: cfg.endpoints?.bills || "../api/bills.php",
|
||||
menu: cfg.endpoints?.menu || "../api/menu.php",
|
||||
};
|
||||
|
||||
export const loaderMinMs = Number(cfg.loaderMinMs) || 10_000;
|
||||
export const availableLanguages = Array.isArray(cfg.languages)
|
||||
? cfg.languages
|
||||
: [
|
||||
{ code: "pl", label: "Polski", flag: "🇵🇱" },
|
||||
{ code: "en", label: "English", flag: "🇬🇧" },
|
||||
{ code: "de", label: "Deutsch", flag: "🇩🇪" },
|
||||
];
|
||||
|
||||
export const MENU_ASSET_VERSION =
|
||||
window.MENU_ASSET_VERSION || window.APP_ASSET_VERSION || "1";
|
||||
export const loaderMinMs = Number(cfg.loaderMinMs) || 10_000;
|
||||
|
||||
Reference in New Issue
Block a user