mirror of
https://github.com/iv-org/invidious
synced 2024-11-09 01:10:27 +00:00
parent
6ec4dcfafd
commit
65fbdbff6a
@ -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 New Issue
Block a user