fix(legacy): consistent with docs in outputs public_url generation

Fixes #2100
This commit is contained in:
jo 2022-09-08 10:51:22 +02:00 committed by Kyle Robbertze
parent e9f05975fe
commit c6a007e7ac
1 changed files with 1 additions and 4 deletions

View File

@ -68,10 +68,7 @@ class Application_Model_StreamConfig
}
if (!$result[$prefix . 'public_url']) {
$host = $result[$prefix . 'host'];
if ($host == 'localhost') {
$host = Config::get('general.public_url_raw')->getHost();
}
$host = Config::get('general.public_url_raw')->getHost();
$port = $result[$prefix . 'port'];
$mount = $result[$prefix . 'mount'];