Skip to content
This repository was archived by the owner on May 22, 2025. It is now read-only.

Commit fd18c8c

Browse files
authored
Part 2
1 parent cbf2af8 commit fd18c8c

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

yogsite/modules/rounds/routes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -146,7 +146,8 @@ def page_round_replay(round_id):
146146

147147
if demo_file.endswith(".gz"):
148148
response.headers.add("Content-Encoding", "gzip")
149-
else:
149+
150+
if demo_file.endswith(".txt"):
150151
response.headers.add("X-Allow-SS13-Replay-Streaming", "true")
151152

152153
if not round.in_progress():

0 commit comments

Comments
 (0)