Merge branch 'hotfix/prefix'
/ docker (push) Successful in 1m37s
Details
/ docker (push) Successful in 1m37s
Details
This commit is contained in:
commit
9ca0539691
2
main.go
2
main.go
|
@ -105,7 +105,7 @@ func init() {
|
||||||
flag.StringVar(&memProfilePath, "memprofile", "", "set path to saving pprof memory profile")
|
flag.StringVar(&memProfilePath, "memprofile", "", "set path to saving pprof memory profile")
|
||||||
flag.Parse()
|
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)
|
logger.Fatalln(err)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue