mirror of
https://github.com/appwrite/appwrite.git
synced 2026-05-26 13:51:13 +00:00
skip certificate generation when localhost or hostname is IP
This commit is contained in:
@@ -68,6 +68,7 @@ include __DIR__ . '/controllers/general.php';
|
||||
|
||||
function certificateSetup($domain)
|
||||
{
|
||||
if($domain=='localhost' || (bool)ip2long($domain)) return;
|
||||
$domains = Config::getParam('domains', []);
|
||||
if (!in_array($domain, $domains)) {
|
||||
//schedule
|
||||
|
||||
Reference in New Issue
Block a user