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/router/template.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/router/template.go') diff --git a/internal/router/template.go b/internal/router/template.go index 1e3b2e715..860f9aad5 100644 --- a/internal/router/template.go +++ b/internal/router/template.go @@ -53,7 +53,7 @@ func LoadTemplates(engine *gin.Engine) error { if templateBaseDir == "" { return gtserror.Newf( "%s cannot be empty and must be a relative or absolute path", - config.WebTemplateBaseDirFlag(), + config.WebTemplateBaseDirFlag, ) } -- cgit v1.2.3