Add gunicorn production server
This commit is contained in:
+2
-1
@@ -260,4 +260,5 @@ def get_article(path):
|
||||
return "Invalid URL", 400
|
||||
|
||||
|
||||
app.run(host="0.0.0.0", port=5000, debug=False)
|
||||
if __name__ == "__main__":
|
||||
app.run(host="0.0.0.0", port=5000, debug=False)
|
||||
|
||||
Reference in New Issue
Block a user