mirror of
https://gitea.invidious.io/iv-org/invidious.git
synced 2024-08-15 00:53:41 +00:00
parent
6ec4dcfafd
commit
65fbdbff6a
1 changed files with 3 additions and 1 deletions
|
@ -412,7 +412,9 @@ module YoutubeAPI
|
|||
#
|
||||
# https://github.com/crystal-lang/crystal/issues/11252#issuecomment-929594741
|
||||
{% unless flag?(:disable_quic) %}
|
||||
headers["Accept-Encoding"] = "gzip"
|
||||
if CONFIG.use_quic
|
||||
headers["Accept-Encoding"] = "gzip"
|
||||
end
|
||||
{% end %}
|
||||
|
||||
# Logging
|
||||
|
|
Loading…
Reference in a new issue