Standards
This commit is contained in:
parent
c975d0f799
commit
8608e8ff63
1 changed files with 1 additions and 1 deletions
|
@ -850,7 +850,7 @@ class GServer
|
||||||
*/
|
*/
|
||||||
public static function checkMastodonDirectory(string $url, array $serverdata)
|
public static function checkMastodonDirectory(string $url, array $serverdata)
|
||||||
{
|
{
|
||||||
$curlResult = Network::curl($url. '/api/v1/directory?limit=1');
|
$curlResult = Network::curl($url . '/api/v1/directory?limit=1');
|
||||||
if (!$curlResult->isSuccess()) {
|
if (!$curlResult->isSuccess()) {
|
||||||
return $serverdata;
|
return $serverdata;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue