mirror of
https://github.com/MarioSpore/Grinch-AP.git
synced 2025-10-21 20:21:32 -06:00
auto refresh tracker
This commit is contained in:
@@ -130,7 +130,7 @@ def host_room(room: int):
|
||||
|
||||
|
||||
@app.route('/tracker/<int:room>')
|
||||
@cache.memoize(timeout=60 * 5) # update every 5 minutes
|
||||
@cache.memoize(timeout=60) # update every minute
|
||||
def get_tracker(room: int):
|
||||
# This more WIP than the rest
|
||||
import Items
|
||||
|
@@ -1,5 +1,6 @@
|
||||
{% extends 'layout.html' %}
|
||||
{% block head %}
|
||||
<meta http-equiv="refresh" content="60">
|
||||
<title>Multiworld Tracker for Room {{ room.id }}</title>
|
||||
{% endblock %}
|
||||
{% block body %}
|
||||
|
Reference in New Issue
Block a user