Skip to content
This repository was archived by the owner on Jul 1, 2026. It is now read-only.

Commit e953000

Browse files
authored
Update index.py
1 parent c6eae66 commit e953000

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

index.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,9 @@
11
from github_webhook import Webhook
2+
from flask_script import Manager
23
from flask import Flask
34

45
app = Flask(__name__) # Standard Flask app
6+
manager = Manager()
57
webhook = Webhook(app) # Defines '/postreceive' endpoint
68

79
@app.route("/") # Standard Flask endpoint
@@ -13,4 +15,4 @@ def on_push(data):
1315
print("Got push with: {0}".format(data))
1416

1517
if __name__ == "__main__":
16-
app.run(host="0.0.0.0", port=80)
18+
app.run(host="0.0.0.0")

0 commit comments

Comments
 (0)