18 lines
662 B
JavaScript
18 lines
662 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",
|
|
menu: cfg.endpoints?.menu || "../api/menu.php",
|
|
};
|
|
|
|
export const loaderMinMs = Number(cfg.loaderMinMs) || 10_000;
|