diff --git a/app/controllers/general.php b/app/controllers/general.php index 121483321b..6a29cde5d3 100644 --- a/app/controllers/general.php +++ b/app/controllers/general.php @@ -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', '');