Webhost: add file downloads to the room api endpoint (#2780)

This commit is contained in:
Aaron Wagener
2024-04-10 22:05:52 -05:00
committed by GitHub
parent 0ba6d90bb8
commit 5d4ed00452
2 changed files with 21 additions and 5 deletions

View File

@@ -47,9 +47,6 @@
{% elif patch.game | supports_apdeltapatch %}
<a href="{{ url_for("download_patch", patch_id=patch.id, room_id=room.id) }}" download>
Download Patch File...</a>
{% elif patch.game == "Dark Souls III" %}
<a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
Download JSON File...</a>
{% elif patch.game == "Final Fantasy Mystic Quest" %}
<a href="{{ url_for("download_slot_file", room_id=room.id, player_id=patch.player_id) }}" download>
Download APMQ File...</a>