We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6eae66 commit e953000Copy full SHA for e953000
1 file changed
index.py
@@ -1,7 +1,9 @@
1
from github_webhook import Webhook
2
+from flask_script import Manager
3
from flask import Flask
4
5
app = Flask(__name__) # Standard Flask app
6
+manager = Manager()
7
webhook = Webhook(app) # Defines '/postreceive' endpoint
8
9
@app.route("/") # Standard Flask endpoint
@@ -13,4 +15,4 @@ def on_push(data):
13
15
print("Got push with: {0}".format(data))
14
16
17
if __name__ == "__main__":
- app.run(host="0.0.0.0", port=80)
18
+ app.run(host="0.0.0.0")
0 commit comments