Change to /irc.

pull/1/head
Simon Quigley 7 years ago
parent 329a0293f3
commit 1b4fd5e19e

@ -158,7 +158,7 @@ def listenirc():
elif ircmsg.find("https://phab.lubuntu.me/T") != -1: elif ircmsg.find("https://phab.lubuntu.me/T") != -1:
ircbot(ircmsg, "link") ircbot(ircmsg, "link")
@app.route("/", methods=["POST"]) @app.route("/irc", methods=["POST"])
def main(): def main():
data = request.data data = request.data
hash = hmac.new(bytes(u"HMAC KEY", "utf-8"), data, sha256) hash = hmac.new(bytes(u"HMAC KEY", "utf-8"), data, sha256)

Loading…
Cancel
Save