mirror of
https://github.com/unraid/webgui.git
synced 2026-04-24 11:19:25 -05:00
fixup! feat(docker): use docker label as primary source for WebUI
This commit is contained in:
@@ -307,7 +307,7 @@ class DockerTemplates {
|
||||
}
|
||||
if ($ct['Running']) {
|
||||
$port = &$ct['Ports'][0];
|
||||
$webui = $this->getTemplateValue($ct['Image'], 'WebUI');
|
||||
$webui = $tmp['url'] ?: $this->getTemplateValue($ct['Image'], 'WebUI');
|
||||
if (strlen($webui) > 0 && !preg_match("%\[(IP|PORT:(\d+))\]%", $webui)) {
|
||||
// non-templated webui, user specified
|
||||
$tmp['url'] = $webui;
|
||||
|
||||
Reference in New Issue
Block a user