Merge pull request #3 from philipp-r/master

fix error message
This commit is contained in:
Aaron
2022-11-09 15:59:11 +13:00
committed by GitHub

View File

@ -65,8 +65,12 @@ function apelly_blacklist_domain_root ( $bol, $url ) {
// stop // stop
//yourls_die( 'Blacklisted domain', 'Forbidden', 403 ); //yourls_die( 'Blacklisted domain', 'Forbidden', 403 );
echo "<center>Blacklisted domain.</center>"; return array(
die(); 'status' => 'fail',
'code' => 'error:url',
'message' => 'Blacklisted domain',
'errorCode' => '403',
);
} }
} }
} }