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