diff --git a/package.json b/package.json index a7076e2..48a3184 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "hubot-edgar-snodon", "description": "ctdo raumbot", - "version": "0.0.7", + "version": "0.0.8", "author": "henne@ctdo.de", "license": "MIT", diff --git a/src/ctdo.js b/src/ctdo.js index 30b0027..a466dfb 100644 --- a/src/ctdo.js +++ b/src/ctdo.js @@ -49,7 +49,7 @@ module.exports = function(robot) { }); function setTopic(currentTopic) { - robot.http("http://status.ctdo.de/api/simple/v2") + robot.http("https://status.ctdo.de/api/simple/v2") .header('Accept', 'application/json') .get()(function(err, res, body) { var data = JSON.parse(body); @@ -104,7 +104,7 @@ module.exports = function(robot) { // status robot.respond(/(status|ls)$/i, function(r) { console.log("status"); - robot.http("http://status.ctdo.de/api/simple/v2") + robot.http("https://status.ctdo.de/api/simple/v2") .header('Accept', 'application/json') .get()(function(err, res, body) { var data = JSON.parse(body);