🎨 Updated env package config
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Maxim Lebedev 2023-03-16 22:46:47 +06:00
parent 1d740d02d4
commit c1534501b3
Signed by: toby3d
GPG Key ID: 1F14E25B7C119FC5

View File

@ -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)
}