From d7f967cbb599c64d18fe951d1725bf3050597dda Mon Sep 17 00:00:00 2001 From: kim Date: Tue, 10 Jun 2025 15:43:31 +0200 Subject: [feature] configurable maximum thumbnail dimensions (#4258) - adds configuration for thumbnail maximum dimensions with warning on exceeding recommendations - moves the media configuration vars into their own sub-struct - replaces the configuration flag funcs with simple string consts Reviewed-on: https://codeberg.org/superseriousbusiness/gotosocial/pulls/4258 Reviewed-by: tobi Co-authored-by: kim Co-committed-by: kim --- internal/storage/storage.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/storage/storage.go') diff --git a/internal/storage/storage.go b/internal/storage/storage.go index 6c645f0ff..12e2d8fec 100644 --- a/internal/storage/storage.go +++ b/internal/storage/storage.go @@ -326,7 +326,7 @@ func NewS3Storage() (*Driver, error) { case "path": bucketLookup = minio.BucketLookupPath default: - log.Warnf(nil, "%s set to %s which is not recognized, defaulting to 'auto'", config.StorageS3BucketLookupFlag(), s) + log.Warnf(nil, "%s set to %s which is not recognized, defaulting to 'auto'", config.StorageS3BucketLookupFlag, s) bucketLookup = minio.BucketLookupAuto } -- cgit v1.2.3