Exclude api endpoints from compression

pull/77/head
Omar Roth 2018-08-04 12:24:50 -05:00
rodzic d7ed7b90be
commit 3b323dc6b0
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -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