1
0
Fork 0

Adapt BaseURL calls to new UriInterface

This commit is contained in:
Philipp Holzer 2023-02-18 20:57:30 +01:00
commit f0c29edcde
Signed by: nupplaPhil
GPG key ID: 24A7501396EB5432
101 changed files with 218 additions and 241 deletions

View file

@ -90,7 +90,7 @@ class HttpClient extends BaseFactory
App::CODENAME . "' " .
App::VERSION . '-' .
DB_UPDATE_VERSION . '; ' .
$this->baseUrl->get();
$this->baseUrl;
$guzzle = new GuzzleHttp\Client([
RequestOptions::ALLOW_REDIRECTS => [

View file

@ -178,7 +178,7 @@ class Probe
*/
private static function ownHost(string $host): bool
{
$own_host = DI::baseUrl()->getHostname();
$own_host = DI::baseUrl()->getHost();
$parts = parse_url($host);