This commit is contained in:
2023-01-30 22:34:55 -03:00
commit 2998d33d33
12 changed files with 714 additions and 0 deletions

15
legacy/utils/keepalive.py Normal file
View File

@@ -0,0 +1,15 @@
from flask import Flask
from threading import Thread
app = Flask('')
@app.route('/')
def home():
return "I'm alive"
def run():
app.run(host='0.0.0.0',port=8080)
def keep_alive():
t = Thread(target=run)
t.start()