https und so

This commit is contained in:
henne 2016-07-19 11:39:39 +02:00
parent cc6f5b9687
commit 1003fa0f4f
2 changed files with 3 additions and 3 deletions

View File

@ -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",

View File

@ -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);