mirror of
https://github.com/appwrite/appwrite
synced 2026-05-24 09:28:40 +00:00
Add a todo
This commit is contained in:
parent
e7e1cfa12e
commit
44e76b4eaa
1 changed files with 1 additions and 0 deletions
|
|
@ -388,6 +388,7 @@ App::get('/v1/proxy/subdomains')
|
|||
->inject('response')
|
||||
->inject('dbForConsole')
|
||||
->action(function (string $resourceType, string $subdomain, Response $response, Database $dbForConsole) {
|
||||
//TODO: Add tests for this endpoint
|
||||
$resourceDomain = $resourceType === 'site' ? System::getEnv('_APP_DOMAIN_SITES', '') : System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
|
||||
$domain = $subdomain . '.' . $resourceDomain;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue