From 3b323dc6b0f474c56e83a38221efddca93ad1744 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 4 Aug 2018 12:24:50 -0500 Subject: [PATCH] Exclude api endpoints from compression --- src/invidious/helpers.cr | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/invidious/helpers.cr b/src/invidious/helpers.cr index 275f53a12..13a27c783 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