✏️ Changed environment variables prefix

This commit is contained in:
Maxim Lebedev 2023-11-06 04:53:08 +06:00
parent cc798de6bc
commit 51df8f8fc8
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)
}