From e9f68df6381dcac38dc9e143cf4bf2aebc0cac13 Mon Sep 17 00:00:00 2001 From: Pliable Pixels Date: Wed, 12 Dec 2018 17:40:17 -0500 Subject: #716 fix reachability --- package.json | 4 ++-- www/js/DataModel.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/package.json b/package.json index 564cad0d..2a23f8df 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "zmninjapro", "description": "Home security mobile app for ZoneMinder", - "version": "1.3.037", + "version":"1.3.037", "displayName": "zmNinja", "author": "Pliable Pixels", "license": "custom see LICENSE.md", @@ -174,4 +174,4 @@ ] } } -} \ No newline at end of file +} diff --git a/www/js/DataModel.js b/www/js/DataModel.js index 5e1c6539..ba9417f5 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -805,7 +805,7 @@ angular.module('zmApp.controllers') var keepBuilding = true; while (keepBuilding == true && tLd) { - if (arrayObjectIndexOf(chainURLs, tLd.url + "/index.php", "url") == -1 && tLd.url !== undefined && tLd.url != '') // no loop + if (arrayObjectIndexOf(chainURLs, tLd.url + "/index.php?view=console", "url") == -1 && tLd.url !== undefined && tLd.url != '') // no loop { log("Adding to chain stack: " + tLd.serverName + ">" + tLd.url); chainURLs.push({ -- cgit v1.2.3