Fix site router

This commit is contained in:
Matej Bačo 2025-02-05 16:17:03 +01:00
parent eeed8dbc16
commit 5882fda501

View file

@ -130,7 +130,7 @@ function router(App $utopia, Database $dbForPlatform, callable $getProjectDB, Sw
};
}
if ($type === 'function') {
if ($type === 'function' || $type === 'site') {
$method = $utopia->getRoute()?->getLabel('sdk', null);
if (empty($method)) {