Fix preview domains

This commit is contained in:
Matej Bačo 2025-02-11 16:26:00 +01:00
parent 14e4854947
commit 86a1fbe86a

View file

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