FIX kill function

This commit is contained in:
unpregnant 2017-02-17 22:03:34 +01:00
parent 673db449ed
commit f0a04ac9cf

View File

@ -29,7 +29,7 @@ const Server = {
*/
kill: function() {
request.get('http://localhost:' + Config.port + '/kill')
.catch();
.catch(error => false);
},
/**
* sets route of express app