From 5e0946bf326c3ff5869cc0c2da94e4d6761d6475 Mon Sep 17 00:00:00 2001 From: James Mills <1290234+prologic@users.noreply.github.com> Date: Sat, 17 Feb 2024 07:00:02 +1000 Subject: Upgrade to Bitcask v2 --- app/config.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'app/config.go') diff --git a/app/config.go b/app/config.go index 884bb4b..d0e1e2f 100644 --- a/app/config.go +++ b/app/config.go @@ -69,7 +69,7 @@ type Copyright struct { func DefaultConfig() *Config { return &Config{ Library: []*PathConfig{ - &PathConfig{ + { Path: "videos", Prefix: "", PreserveUploadFilename: false, @@ -84,7 +84,7 @@ func DefaultConfig() *Config { MaxUploadSize: 104857600, }, Thumbnailer: &ThumbnailerConfig{ - Timeout: 60, + Timeout: 60, PositionFromStart: 3, }, Transcoder: &TranscoderConfig{ -- cgit v1.2.3