diff options
| author | Omar Roth <omarroth@hotmail.com> | 2018-08-04 12:24:50 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2018-08-04 12:24:50 -0500 |
| commit | 3b323dc6b0f474c56e83a38221efddca93ad1744 (patch) | |
| tree | b57a709610f6cbcdcc50df72797eac1871eced15 /src | |
| parent | d7ed7b90be1dde59323e3b21b1fb6f639384e31b (diff) | |
| download | invidious-3b323dc6b0f474c56e83a38221efddca93ad1744.tar.gz invidious-3b323dc6b0f474c56e83a38221efddca93ad1744.tar.bz2 invidious-3b323dc6b0f474c56e83a38221efddca93ad1744.zip | |
Exclude api endpoints from compression
Diffstat (limited to 'src')
| -rw-r--r-- | src/invidious/helpers.cr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.cr index 275f53a1..13a27c78 100644 --- a/src/invidious/helpers.cr +++ b/src/invidious/helpers.cr @@ -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 |
