This commit is contained in:
2025-11-25 01:14:23 +01:00
parent 78cbccfaea
commit 258de0b0d6
5 changed files with 826 additions and 897 deletions

View File

@@ -6,9 +6,11 @@ $host = $_SERVER['HTTP_HOST'] ?? app_primary_domain();
$requestUri = $_SERVER['REQUEST_URI'] ?? '/';
$usbConfig = [
'lang' => $lang ?? 'en',
'assetsBase'=> '/assets',
'env' => $GLOBALS['ENV'] ?? 'prod',
'lang' => $lang ?? 'en',
'assetsBase' => '/assets',
// NEU: Versionierung für JS/CSS aus PHP-Config
'assetVersion'=> defined('ASSET_VERSION') ? ASSET_VERSION : null,
'env' => $GLOBALS['ENV'] ?? 'prod',
'domains' => [
'primaryDomain' => app_primary_domain(),
@@ -18,9 +20,9 @@ $usbConfig = [
],
'fakecheck' => [
'baseUrl' => $GLOBALS['usb_base_url'] ?? '',
'apiBaseUrl'=> $GLOBALS['usb_api_base'] ?? 'https://api.usbcheck.it',
'locale' => $lang ?? 'en',
'baseUrl' => $GLOBALS['usb_base_url'] ?? '',
'apiBaseUrl' => $GLOBALS['usb_api_base'] ?? 'https://api.usbcheck.it',
'locale' => $lang ?? 'en',
],
];
?>