Fix hostname given in Apple config file

Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
This commit is contained in:
Nils Wittenbrink 2020-02-28 20:17:04 +01:00
parent 0cb00912ec
commit 4725fb9c1a
1 changed files with 1 additions and 1 deletions

View File

@ -125,7 +125,7 @@ class AppleProvisioningPlugin extends ServerPlugin {
return false;
}
$absoluteURL = $request->getAbsoluteUrl();
$absoluteURL = $this->urlGenerator->getBaseUrl();
$parsedUrl = parse_url($absoluteURL);
if (isset($parsedUrl['port'])) {
$serverPort = (int) $parsedUrl['port'];