mirror of
https://github.com/appwrite/appwrite
synced 2026-05-23 08:58:35 +00:00
Todos
This commit is contained in:
parent
2f2a743a7f
commit
30cb7e8ff2
1 changed files with 3 additions and 0 deletions
|
|
@ -81,6 +81,9 @@ class Create extends Action
|
|||
$sitesDomain = System::getEnv('_APP_DOMAIN_SITES', '');
|
||||
$functionsDomain = System::getEnv('_APP_DOMAIN_FUNCTIONS', '');
|
||||
|
||||
// Not xactly sitesDomain
|
||||
// Not exactly functionsDomain
|
||||
|
||||
if ($domain === 'localhost' || $domain === APP_HOSTNAME_INTERNAL) {
|
||||
throw new Exception(Exception::GENERAL_ARGUMENT_INVALID, 'This domain name is not allowed. Please pick another one.');
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue