Skip to content

Commit 89650de

Browse files
author
EC2 Default User
committed
Update app.py to support port 80 and EC2 deployment
1 parent 348bf7d commit 89650de

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

backend/app.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,6 +136,6 @@ def predict():
136136
forecast=result,
137137
plot_url="/static/plot.png"
138138
)
139-
140139
if __name__ == "__main__":
141-
app.run(debug=True)
140+
app.run(host="0.0.0.0", port=80, debug=True)
141+

0 commit comments

Comments
 (0)