fix: VIKUNJA_SERVICE_JWT_SECRET should be VIKUNJA_SERVICE_JWTSECRET #1184
|
@ -76,7 +76,7 @@ Default: `<jwt-secret>`
|
||||||
|
|
||||||
Full path: `service.JWTSecret`
|
Full path: `service.JWTSecret`
|
||||||
|
|
||||||
Environment path: `VIKUNJA_SERVICE_JWT_SECRET`
|
Environment path: `VIKUNJA_SERVICE_JWTSECRET`
|
||||||
|
|
||||||
|
|
||||||
### jwtttl
|
### jwtttl
|
||||||
|
|
|
@ -1051,7 +1051,7 @@ func printConfig(config []*configOption, level int, parent string) (rendered str
|
||||||
fullPath := parent + "." + option.key
|
fullPath := parent + "." + option.key
|
||||||
|
|
||||||
rendered += "Full path: `" + fullPath + "`\n\n"
|
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"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue