Add a todo

This commit is contained in:
Khushboo Verma
2024-10-27 15:35:18 +01:00
parent e7e1cfa12e
commit 44e76b4eaa
+1
View File
@@ -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;