From 2e6f4650552c94e3449f5087823dc60f146529b4 Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Thu, 12 Jan 2023 09:38:13 -0500 Subject: [PATCH] eslint doesn't like function names that start with a capital --- web/js/Server.js | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/web/js/Server.js b/web/js/Server.js index da439dd39..821862ed1 100644 --- a/web/js/Server.js +++ b/web/js/Server.js @@ -34,17 +34,18 @@ var Server = function() { } }, { - key: 'UrlToZMS', - value: function UrlToZMS() { + key: 'urlToZMS', + value: function urlToZMS() { const port = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; return this.Protocol + '://' + this.Hostname + (port ? ':' + port : '') + (this.PathToZMS && this.PathToZMS != 'null' ? this.PathToZMS : ''); } }, { - key: 'UrlToApi', - value: function UrlToApi() { + key: 'urlToApi', + value: function urlToApi() { const port = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0; - return this.Protocol + '://' + this.Hostname + (port ? ':' + port : '') + (this.PathToApi && this.PathToApi != 'null' ? this.PathToApi : ''); + //return this.Protocol + '://' + this.Hostname + (port ? ':' + port : '') + (this.PathToApi && this.PathToApi != 'null' ? this.PathToApi : ''); + return this.Protocol + '://' + 'zm.connortechnology.com' + (port ? ':' + port : '') + (this.PathToApi && this.PathToApi != 'null' ? this.PathToApi : ''); } } ]);