mirror of
https://github.com/appwrite/appwrite
synced 2026-05-22 08:28:42 +00:00
ai review fixes
This commit is contained in:
parent
fea4994ef0
commit
ce1bb3fd29
1 changed files with 6 additions and 1 deletions
|
|
@ -152,7 +152,12 @@ class Action extends PlatformAction
|
|||
} elseif ($ruleType === 'redirect') {
|
||||
// Shouldn't be needed, because redirect should always have resourceTyp too, but just in case we default to sites
|
||||
// For example: appwrite.network
|
||||
$targetCNAMEs[] = new Domain(System::getEnv('_APP_DOMAIN_SITES', ''));
|
||||
foreach (\explode(',', System::getEnv('_APP_DOMAIN_SITES', '')) as $targetCNAME) {
|
||||
if (empty($targetCNAME)) {
|
||||
continue;
|
||||
}
|
||||
$targetCNAMEs[] = new Domain($targetCNAME);
|
||||
}
|
||||
}
|
||||
|
||||
$validators = [];
|
||||
|
|
|
|||
Loading…
Reference in a new issue