70_ZoneMinder:fixed link to ZM webui

git-svn-id: https://svn.fhem.de/fhem/trunk@17549 2b470e98-0d58-463d-a4d8-8e2adae1ed80
This commit is contained in:
delmar
2018-10-17 02:55:08 +00:00
parent 9c10b1f2b4
commit ef574b36be

View File

@@ -123,8 +123,8 @@ sub ZoneMinder_getZmWebUrl {
$zmHost = $publicAddress;
} else {
$zmHost = $hash->{helper}{ZM_HOST};
$zmHost = "http://$zmHost";
}
$zmHost = "http://$zmHost";
$zmHost .= '/' if (not $zmHost =~ m/\/$/);
my $zmWebContext = $attr{$name}{webConsoleContext};