mirror of
https://github.com/iv-org/invidious.git
synced 2025-01-18 12:42:41 +05:30
Remove of gzip header w/ use_quic config
Continuation of b0f127d4d89bc1a001c9ad37b27eec8d9d8e7961
This commit is contained in:
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…
x
Reference in New Issue
Block a user