fix: replit web fix

This commit is contained in:
Soulter
2023-04-25 20:57:22 +08:00
parent e63fe60f8d
commit 9887cae43c
+4 -2
View File
@@ -9,13 +9,15 @@ app = Flask(__name__)
def main_func():
content = "<h1>QQChannelChatGPT Web APP</h1>"
content = "<p>" + "Online @ " + str(datetime.datetime.now()) + "</p>"
content = "<p>欢迎Star本项目!!!</p>"
content += "<p>" + "Online @ " + str(datetime.datetime.now()) + "</p>"
content += "<p>欢迎Star本项目!!!</p>"
return content
def run():
app.run(host="0.0.0.0", port=8080)
def keep_alive():