mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Remove extra code
This commit is contained in:
parent
18b45a7bda
commit
fae8b6e465
1 changed files with 0 additions and 7 deletions
|
|
@ -92,13 +92,6 @@ function router(App $utopia, Database $dbForConsole, callable $getProjectDB, Swo
|
|||
}
|
||||
}
|
||||
|
||||
if (array_key_exists('proxy', $project->getAttribute('apis', []))) {
|
||||
$status = $project->getAttribute('apis', [])['proxy'];
|
||||
if (!$status) {
|
||||
throw new AppwriteException(AppwriteException::GENERAL_API_DISABLED);
|
||||
}
|
||||
}
|
||||
|
||||
// Skip Appwrite Router for ACME challenge. Nessessary for certificate generation
|
||||
$path = ($swooleRequest->server['request_uri'] ?? '/');
|
||||
if (\str_starts_with($path, '/.well-known/acme-challenge')) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue