Merge branch 'hotfix/prefix'
All checks were successful
/ docker (push) Successful in 1m37s

This commit is contained in:
Maxim Lebedev 2023-11-06 04:53:52 +06:00
commit 9ca0539691
Signed by: toby3d
GPG key ID: 1F14E25B7C119FC5

View file

@ -105,7 +105,7 @@ func init() {
flag.StringVar(&memProfilePath, "memprofile", "", "set path to saving pprof memory profile")
flag.Parse()
if err := env.ParseWithOptions(config, env.Options{Prefix: "INDIEAUTH_"}); err != nil {
if err := env.ParseWithOptions(config, env.Options{Prefix: "AUTH_"}); err != nil {
logger.Fatalln(err)
}