Skip to content

Commit

Permalink
strict mode is true in default
Browse files Browse the repository at this point in the history
  • Loading branch information
whywaita committed Aug 26, 2021
1 parent 53d5b3d commit cfa1453
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions internal/config/init.go
Original file line number Diff line number Diff line change
Expand Up @@ -86,10 +86,8 @@ func Load() {
Config.Debug = false
}

strict := os.Getenv(EnvStrict)
if strict == "true" {
Config.Strict = true
} else {
Config.Strict = true
if os.Getenv(EnvStrict) == "false" {
Config.Strict = false
}
}
Expand Down

0 comments on commit cfa1453

Please sign in to comment.