feat: add a new to sanic server instance

This commit is contained in:
Laurent Peuch 2024-03-09 23:18:28 +01:00
parent 17024067b5
commit 80425548e1

View file

@ -10,7 +10,7 @@ from sanic.response import text
from sanic.exceptions import abort from sanic.exceptions import abort
app = Sanic() app = Sanic(name="Webhooks")
secret = open("./github_webhook_secret", "r").read().strip() secret = open("./github_webhook_secret", "r").read().strip()
gitbot_password = open("./gitbot_password", "r").read().strip() gitbot_password = open("./gitbot_password", "r").read().strip()