diff options
author | Jonas Friedmann <j@frd.mn> | 2014-06-10 15:25:52 +0200 |
---|---|---|
committer | Jonas Friedmann <j@frd.mn> | 2014-06-10 15:25:52 +0200 |
commit | 3fd87fca205ba3f5d72ce6c4837e19ac27771cc3 (patch) | |
tree | ded4f0339f84426fc4487235107276df6dab909f | |
parent | c513a91318a406bb315fcc3e171fc282d77a7436 (diff) | |
download | popcorn-hubot-origin/master.zip popcorn-hubot-origin/master.tar.gz popcorn-hubot-origin/master.tar.bz2 |
Fix URL for StatusPage scriptHEADorigin/masterorigin/HEADmaster
-rw-r--r-- | scripts/status.coffee | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/scripts/status.coffee b/scripts/status.coffee index a0012b1..1b1ef9a 100644 --- a/scripts/status.coffee +++ b/scripts/status.coffee @@ -10,7 +10,7 @@ # Author: # frdmn <j@frd.mn> -statusUrl = "http://status.get-popcorn.com/index.json" +statusUrl = "http://status.popcorntime.io/index.json" require("sugar") @@ -52,6 +52,9 @@ module.exports = (robot) -> if incident.status != "completed" && incident.status != "resolved" # Add to activeIncidents Array activeIncidents.push "* #{incident.name}: #{incident.status} - #{incident.incident_updates[0].body[0...50]}... (#{incident.shortlink})" + else + # Append info to statusLine + statusLine += " - Everything works as expected!" # Send output msg.send statusLine |