Update Helpers, fix broken tests

This commit is contained in:
Daniel Supernault 2021-04-29 23:39:38 -06:00
parent 37969da936
commit 22dddaa044
No known key found for this signature in database
GPG key ID: 0DEF1C662C9033F7

View file

@ -176,11 +176,13 @@ class Helpers {
}
}
if(app()->environment() === 'production') {
$bannedInstances = InstanceService::getBannedDomains();
if(in_array($host, $bannedInstances)) {
return false;
}
}
if(in_array($host, $localhosts)) {
return false;