https und so
This commit is contained in:
parent
cc6f5b9687
commit
1003fa0f4f
|
@ -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",
|
||||
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue