diff --git a/docs/content/doc/setup/config.md b/docs/content/doc/setup/config.md index 9124b259..2721d6e8 100644 --- a/docs/content/doc/setup/config.md +++ b/docs/content/doc/setup/config.md @@ -76,7 +76,7 @@ Default: `` Full path: `service.JWTSecret` -Environment path: `VIKUNJA_SERVICE_JWT_SECRET` +Environment path: `VIKUNJA_SERVICE_JWTSECRET` ### jwtttl diff --git a/magefile.go b/magefile.go index 02642547..b5a0e17f 100644 --- a/magefile.go +++ b/magefile.go @@ -1051,7 +1051,7 @@ func printConfig(config []*configOption, level int, parent string) (rendered str fullPath := parent + "." + option.key rendered += "Full path: `" + fullPath + "`\n\n" - rendered += "Environment path: `VIKUNJA_" + strcase.ToScreamingSnake(fullPath) + "`\n\n" + rendered += "Environment path: `VIKUNJA_" + strcase.ToScreamingSnake(strings.ToUpper(fullPath)) + "`\n\n" } }