kopia lustrzana https://github.com/iv-org/invidious
Exclude api endpoints from compression
rodzic
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
|
||||
|
|
Ładowanie…
Reference in New Issue