From 38e94210172ae8b7db448e5285efefc85894d591 Mon Sep 17 00:00:00 2001 From: Heinrich 'Henrik' Langos Date: Sat, 21 Jan 2023 00:59:40 +0000 Subject: [PATCH] fix: Add missing config defaut. (#62) Without this value, and without a corresponding config.json entry, the thumbnail will not be generated. Closes prologic/tube#41 Reviewed-on: https://git.mills.io/prologic/tube/pulls/62 Co-authored-by: Heinrich 'Henrik' Langos Co-committed-by: Heinrich 'Henrik' Langos --- app/config.go | 1 + 1 file changed, 1 insertion(+) diff --git a/app/config.go b/app/config.go index 7d886c0..884bb4b 100644 --- a/app/config.go +++ b/app/config.go @@ -85,6 +85,7 @@ func DefaultConfig() *Config { }, Thumbnailer: &ThumbnailerConfig{ Timeout: 60, + PositionFromStart: 3, }, Transcoder: &TranscoderConfig{ Timeout: 300,