🎨 Updated env package config
continuous-integration/drone/push Build is passing Details

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
1 changed files with 3 additions and 5 deletions

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