Skip to content

Commit

Permalink
show rankings history
Browse files Browse the repository at this point in the history
  • Loading branch information
bojieli committed Aug 1, 2024
1 parent ba397d1 commit 735560f
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions app/views/stats.py
Original file line number Diff line number Diff line change
Expand Up @@ -271,18 +271,12 @@ def stats_history_en():

@stats.route('/rankings-history-list/', methods=['GET'])
def rankings_history():
if True:
return render_template('error-page.html', code=404), 404

history_files = get_rankings_history_file_list()
return render_template('rankings-history.html', history_files=history_files, title='排行榜历史')


@stats.route('/rankings-history/<path:path>', methods=['GET'])
def rankings_history_file(path):
if True:
return render_template('error-page.html', code=404), 404

return send_from_directory(get_rankings_history_base(), path)


Expand Down

0 comments on commit 735560f

Please sign in to comment.