Properly handle when zm installed on root directory (#12348)
Signed-off-by: Mark Hilbush <mark@hilbush.com>
This commit is contained in:
@@ -146,7 +146,7 @@ public class ZmBridgeHandler extends BaseBridgeHandler {
|
||||
host = config.host;
|
||||
useSSL = config.useSSL.booleanValue();
|
||||
portNumber = config.portNumber != null ? Integer.toString(config.portNumber) : null;
|
||||
urlPath = config.urlPath;
|
||||
urlPath = "/".equals(config.urlPath) ? "" : config.urlPath;
|
||||
|
||||
// If user and password are configured, then use Zoneminder authentication
|
||||
if (config.user != null && config.pass != null) {
|
||||
|
||||
Reference in New Issue
Block a user