ntdservices commited on
Commit
aca3173
Β·
verified Β·
1 Parent(s): d00d00a

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +4 -1
app.py CHANGED
@@ -63,5 +63,8 @@ def index():
63
  articles = get_rss_articles()
64
  return render_template("index.html", articles=articles)
65
 
 
 
66
  if __name__ == "__main__":
67
- app.run(debug=True, port=5006)
 
 
63
  articles = get_rss_articles()
64
  return render_template("index.html", articles=articles)
65
 
66
+
67
+ # ─────────────────── main ────────────────────────────
68
  if __name__ == "__main__":
69
+ port = int(os.environ.get("PORT", 7860))
70
+ app.run(host="0.0.0.0", port=port)