mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 17:08:45 +00:00
Fix site router
This commit is contained in:
parent
eeed8dbc16
commit
5882fda501
1 changed files with 1 additions and 1 deletions
|
|
@ -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)) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue