4
0
mirror of https://github.com/AzuraCast/AzuraCast.git synced 2024-06-13 20:56:36 +00:00

Fixes #5926 -- Remove scheme from Shoutcast directory listing.

This commit is contained in:
Buster Neece 2022-12-15 16:55:59 -06:00
parent 5f9960e3ab
commit 19a82114a2
No known key found for this signature in database
GPG Key ID: F1D2E64A0005E80E

View File

@ -119,8 +119,7 @@ final class Shoutcast extends AbstractFrontend
[$certPath, $certKey] = Acme::getCertificatePaths(); [$certPath, $certKey] = Acme::getCertificatePaths();
$publicUrl = $this->getPublicUrl($station); $urlHost = $this->getPublicUrl($station)->getHost();
$urlHost = $publicUrl->getScheme() . '://' . $publicUrl->getHost();
$config = [ $config = [
'password' => $frontendConfig->getSourcePassword(), 'password' => $frontendConfig->getSourcePassword(),