From 9887cae43c4efc7b438e8d9cdaef6bbc732bab2a Mon Sep 17 00:00:00 2001 From: Soulter <37870767+Soulter@users.noreply.github.com> Date: Tue, 25 Apr 2023 20:57:22 +0800 Subject: [PATCH] fix: replit web fix --- webapp_replit.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/webapp_replit.py b/webapp_replit.py index f406b47dc..d107c907a 100644 --- a/webapp_replit.py +++ b/webapp_replit.py @@ -9,13 +9,15 @@ app = Flask(__name__) def main_func(): content = "

QQChannelChatGPT Web APP

" - content = "

" + "Online @ " + str(datetime.datetime.now()) + "

" - content = "

欢迎Star本项目!!!

" + content += "

" + "Online @ " + str(datetime.datetime.now()) + "

" + content += "

欢迎Star本项目!!!

" return content def run(): app.run(host="0.0.0.0", port=8080) + + def keep_alive():