20 lines
711 B
JavaScript
20 lines
711 B
JavaScript
const cfg = window.APP_CONFIG || {};
|
|
|
|
export const geoBypassHosts = Array.isArray(cfg.geoBypassHosts)
|
|
? cfg.geoBypassHosts
|
|
: [];
|
|
|
|
export const endpoints = {
|
|
analytics: cfg.endpoints?.analytics || "../api/analytics.php",
|
|
guestActionQueue: cfg.endpoints?.guestActionQueue || "../api/guest_action_queue.php",
|
|
geoBypass: cfg.endpoints?.geoBypass || "../api/geo_bypass.php",
|
|
gusLookup: cfg.endpoints?.gusLookup || "../api/gus_lookup.php",
|
|
kds: cfg.endpoints?.kds || "../api/kds.php",
|
|
bills: cfg.endpoints?.bills || "../api/bills.php",
|
|
};
|
|
|
|
export const loaderMinMs = Number(cfg.loaderMinMs) || 10_000;
|
|
|
|
export const MENU_ASSET_VERSION =
|
|
window.MENU_ASSET_VERSION || window.APP_ASSET_VERSION || "1";
|