mirror of
https://github.com/andwati/unsplash-bot.git
synced 2026-11-29 05:38:45 +00:00
Empty commit
This commit is contained in:
+4
-2
@@ -1,3 +1,5 @@
|
|||||||
|
import os
|
||||||
|
|
||||||
import flask
|
import flask
|
||||||
import telebot
|
import telebot
|
||||||
|
|
||||||
@@ -29,5 +31,5 @@ def webhook():
|
|||||||
|
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
|
port = int(os.environ.get("PORT", 33507))
|
||||||
app.run(host="0.0.0.0")
|
app.run(host="0.0.0.0", port=port)
|
||||||
|
|||||||
Reference in New Issue
Block a user