mirror of
https://github.com/appwrite/appwrite.git
synced 2026-11-18 20:36:03 +00:00
Todos
This commit is contained in:
1 parent
2f2a743a7f
commit
30cb7e8ff2
1 file changed
+3
@@ -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.');
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user