summaryrefslogtreecommitdiff
path: root/internal/router/template.go
diff options
context:
space:
mode:
Diffstat (limited to 'internal/router/template.go')
-rw-r--r--internal/router/template.go2
1 files changed, 1 insertions, 1 deletions
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,
)
}