Commit da63e135 authored by Indrek Jentson's avatar Indrek Jentson

Muudetud test-url

parent 604379b2
......@@ -77,7 +77,7 @@ var CheckService = function(){
this.checkServer = function() {
return new Promise( function(resolve, reject) {
try {
request.get({url: config.serverUrl + ':3000/', timeout: 5000}, function(err, replay) {
request.get({url: config.serverUrl + ':3000/api/v1/service/config', timeout: 5000}, function(err, replay) {
logger.debug('replay: ' + replay);
if (err) resolve({type:'ERR', msg: 'ühendus serveriga ' + config.serverUrl + ' ei tööta: ' + err});
else {
......
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