mirror of
https://github.com/iv-org/invidious.git
synced 2024-12-02 03:31:20 +05:30
Exclude api endpoints from compression
This commit is contained in:
parent
d7ed7b90be
commit
3b323dc6b0
@ -51,7 +51,7 @@ class Config
|
||||
end
|
||||
|
||||
class FilteredCompressHandler < Kemal::Handler
|
||||
exclude ["/videoplayback"]
|
||||
exclude ["/videoplayback", "/api/*"]
|
||||
|
||||
def call(env)
|
||||
return call_next env if exclude_match? env
|
||||
|
Loading…
Reference in New Issue
Block a user