🎨 Updated env package config
All checks were successful
continuous-integration/drone/push Build is passing
All checks were successful
continuous-integration/drone/push Build is passing
This commit is contained in:
parent
1d740d02d4
commit
c1534501b3
1 changed files with 3 additions and 5 deletions
8
main.go
8
main.go
|
@ -117,11 +117,9 @@ func init() {
|
|||
flag.Parse()
|
||||
|
||||
if err := env.Parse(config, env.Options{
|
||||
Environment: nil,
|
||||
OnSet: nil,
|
||||
Prefix: "INDIEAUTH_",
|
||||
RequiredIfNoDef: false,
|
||||
TagName: "",
|
||||
Prefix: "AUTH_",
|
||||
TagName: "env",
|
||||
UseFieldNameByDefault: true,
|
||||
}); err != nil {
|
||||
logger.Fatalln(err)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue