diff --git a/WebHostLib/templates/tracker__ALinkToThePast.html b/WebHostLib/templates/tracker__ALinkToThePast.html index ba1cdbc32b5a..75edc65ba02c 100644 --- a/WebHostLib/templates/tracker__ALinkToThePast.html +++ b/WebHostLib/templates/tracker__ALinkToThePast.html @@ -203,6 +203,7 @@ const fakeDOM = parser.parseFromString(await response.text(), "text/html"); document.querySelector(".inventory-grid").innerHTML = fakeDOM.querySelector(".inventory-grid").innerHTML; + document.querySelector(".regions-list").innerHTML = fakeDOM.querySelector(".regions-list").innerHTML; } diff --git a/WebHostLib/tracker.py b/WebHostLib/tracker.py index c0aa033d9ed5..e93595242b36 100644 --- a/WebHostLib/tracker.py +++ b/WebHostLib/tracker.py @@ -295,10 +295,9 @@ def get_room_videos(self) -> Dict[TeamPlayer, Tuple[str, str]]: @app.route("/tracker///") def get_player_tracker(tracker: UUID, tracked_team: int, tracked_player: int, generic: bool = False) -> str: key = f"{tracker}_{tracked_team}_{tracked_player}_{generic}" - # TODO: Remove this debug to bypass cache. - # tracker_page = cache.get(key) - # if tracker_page: - # return tracker_page + tracker_page = cache.get(key) + if tracker_page: + return tracker_page timeout, tracker_page = get_timeout_and_tracker(tracker, tracked_team, tracked_player, generic) cache.set(key, tracker_page, timeout)