Fix hostname given in Apple config file
Signed-off-by: Nils Wittenbrink <nilswittenbrink@web.de>
This commit is contained in:
parent
a8cef5d00b
commit
80e422d7b4
|
@ -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'];
|
||||
|
|
Loading…
Reference in New Issue