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 committed by backportbot[bot]
parent a8cef5d00b
commit 80e422d7b4
1 changed files with 1 additions and 1 deletions

View File

@ -124,7 +124,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'];