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 : ''); } } ]);