mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2023-06-08.git
synced 2024-08-15 00:53:38 +00:00
Exclude api endpoints from compression
This commit is contained in:
parent
d7ed7b90be
commit
3b323dc6b0
1 changed files with 1 additions and 1 deletions
|
@ -51,7 +51,7 @@ class Config
|
||||||
end
|
end
|
||||||
|
|
||||||
class FilteredCompressHandler < Kemal::Handler
|
class FilteredCompressHandler < Kemal::Handler
|
||||||
exclude ["/videoplayback"]
|
exclude ["/videoplayback", "/api/*"]
|
||||||
|
|
||||||
def call(env)
|
def call(env)
|
||||||
return call_next env if exclude_match? env
|
return call_next env if exclude_match? env
|
||||||
|
|
Loading…
Reference in a new issue