forked from midou/invidious
Exclude api endpoints from compression
This commit is contained in:
1 parent
d7ed7b90be
commit
3b323dc6b0
1 file changed
+1
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user