summaryrefslogtreecommitdiff
path: root/lib/DBInfoscreen.pm
diff options
context:
space:
mode:
authorBirte Kristina Friesel <derf@finalrewind.org>2023-07-10 20:57:27 +0200
committerBirte Kristina Friesel <derf@finalrewind.org>2023-07-10 20:57:27 +0200
commita4d60a03f68e29e68f341b339f48cae452f8a383 (patch)
tree2c2c0c9780bdd14c89c6989de95e5c03c616c8c9 /lib/DBInfoscreen.pm
parent51350ffe354da47baa24826ea1e55044083ee5c4 (diff)
pass version via defaults4.16.6
Diffstat (limited to 'lib/DBInfoscreen.pm')
-rw-r--r--lib/DBInfoscreen.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/DBInfoscreen.pm b/lib/DBInfoscreen.pm
index bc0f181..fd3ed0b 100644
--- a/lib/DBInfoscreen.pm
+++ b/lib/DBInfoscreen.pm
@@ -38,6 +38,7 @@ sub startup {
);
chomp $self->config->{version};
+ $self->defaults( version => $self->config->{version} // 'UNKNOWN' );
# Generally, the reverse proxy handles compression.
# Also, Mojolicious compression breaks legacy callback-based JSON endpoints