细节修改

This commit is contained in:
2026-07-20 16:42:56 +08:00
parent 70ae08fa50
commit 404450b779
6 changed files with 43 additions and 19 deletions

8
app.py
View File

@@ -4,7 +4,7 @@ Flask 主应用
"""
import os
from datetime import datetime
from flask import Flask, render_template
from flask import Flask, render_template, Response
from flask_cors import CORS
from apscheduler.schedulers.background import BackgroundScheduler
import pytz
@@ -43,6 +43,12 @@ def index():
return render_template('index.html')
@app.route('/favicon.ico')
def favicon():
"""网站图标返回空响应避免404"""
return Response(status=204)
# ==================== 定时任务 ====================
def scheduled_job():