Commit 93e8a227 authored by Efthymia Bika's avatar Efthymia Bika

Fix bug: endpoint var should be local

parent 66af4b74
......@@ -55,7 +55,7 @@ function splitCA(CAPath) {
*/
var Client = function(endpointURL, token, CAPath) {
var _options = {host: null, headers: { }, };
var _url, _parser, _protocol, _token;
var _url, _parser, _protocol, _token, _endpoint;
this.setURL = function(newURL) {
_url = newURL;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment