summaryrefslogtreecommitdiff
path: root/www/js/LoginCtrl.js
diff options
context:
space:
mode:
authorArjun Roychowdhury <pliablepixels@gmail.com>2015-11-17 10:43:18 -0500
committerArjun Roychowdhury <pliablepixels@gmail.com>2015-11-17 10:43:18 -0500
commitacf7d6e40babb1622a9f0dddb2eff50d7fe23c48 (patch)
tree4e25f38476d5e817b60c3ef82f9041dd3583bb75 /www/js/LoginCtrl.js
parent62cea3fcfae528bc08995bf6a02ce92b0b899871 (diff)
#92 - let user have full control on cgi-bin path spec to cover all cases
Former-commit-id: 48bd4d0ca2ee8a8b44f885f76652c86088fc2397
Diffstat (limited to 'www/js/LoginCtrl.js')
-rw-r--r--www/js/LoginCtrl.js8
1 files changed, 5 insertions, 3 deletions
diff --git a/www/js/LoginCtrl.js b/www/js/LoginCtrl.js
index 34c29eec..c8be575b 100644
--- a/www/js/LoginCtrl.js
+++ b/www/js/LoginCtrl.js
@@ -288,9 +288,11 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
}
// strip cgi-bin if it is there but only at the end
- if ($scope.loginData.streamingurl.slice(-7).toLowerCase() == 'cgi-bin') {
+ // Nov 17 Don't mess with this path. centos uses zm-cgi-bin of all things
+
+ /*if ($scope.loginData.streamingurl.slice(-7).toLowerCase() == 'cgi-bin') {
$scope.loginData.streamingurl = $scope.loginData.streamingurl.slice(0, -7);
- }
+ }*/
// check for protocol and if not put it in
@@ -378,7 +380,7 @@ angular.module('zmApp.controllers').controller('zmApp.LoginCtrl', ['$scope', '$r
ZMDataModel.getPathZms()
.then(function (data) {
var ld = ZMDataModel.getLogin();
- ZMDataModel.zmLog("PATH_ZMS:" + data + " ,Path ZmNinja will use:" + ld.streamingurl + "/cgi-bin/nph-zms");
+ ZMDataModel.zmLog("PATH_ZMS:" + data + ", Path ZmNinja will use:" + ld.streamingurl + "/nph-zms");
ZMDataModel.zmLog("If live streams are not working, make sure you check these values");