_APP_DOMAIN_FUNCTIONS_FALLBACK

This commit is contained in:
shimon 2025-02-14 11:08:43 +02:00
parent 2106022507
commit 00478e8533

View file

@ -71,6 +71,16 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw
)[0] ?? new Document();
}
var_dump([
'location' => 'router function',
'_APP_RULES_FORMAT' => System::getEnv('_APP_RULES_FORMAT'),
'host' => $host,
'md5' => md5($host),
'route' => $route,
]);
if ($route->isEmpty()) {
$appDomainFunctionsFallback = System::getEnv('_APP_DOMAIN_FUNCTIONS_FALLBACK', '');