統計情報をホームページに移動する

This commit is contained in:
yuukiwww
2024-04-21 13:23:25 +00:00
parent ac89c9537d
commit 86d5a59b1b
20 changed files with 1 additions and 399 deletions

5
app.py
View File

@@ -896,11 +896,6 @@ def cloudflare():
return cache_wrap(flask.jsonify(result.json()), 60)
@app.route("/stats/", defaults={"ref": "index.html"})
@app.route("/stats/<path:ref>")
def send_stats(ref):
return cache_wrap(flask.send_from_directory("public/stats", ref), 3600)
if __name__ == '__main__':
import argparse