Delete keep_alive.py

This commit is contained in:
7trail 2023-08-28 21:12:18 -05:00 committed by GitHub
parent e453796022
commit d3298ecb4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,21 +0,0 @@
from flask import Flask
from threading import Thread
app = Flask('')
header = "None"
body = "The next thing generated will show here!"
@app.route('/')
def home():
return f"""<h1>Latest - {header}</h1>
{body}
"""
def run():
app.run(host='0.0.0.0',port=8080)
def keep_alive():
t = Thread(target=run)
t.start()