From 1003fa0f4f6f519ae8ed76f08c6e1ac860f67216 Mon Sep 17 00:00:00 2001 From: henne Date: Tue, 19 Jul 2016 11:39:39 +0200 Subject: [PATCH] https und so --- package.json | 2 +- src/ctdo.js | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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);