summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/DBInfoscreen.pm4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index afe139a..519e837 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -42,6 +42,10 @@ sub startup {
chomp $self->config->{version};
+ # Generally, the reverse proxy handles compression.
+ # Also, Mojolicious compression breaks JSON endpoints for some clients.
+ $self->renderer->compress(0);
+
$self->hook(
before_dispatch => sub {
my ($self) = @_;