Skip to content

Commit

Permalink
fix(mmdb): skip dl failed
Browse files Browse the repository at this point in the history
  • Loading branch information
ysicing committed Jan 8, 2024
1 parent cfb64fa commit 99db421
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/boot/boot.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,7 @@ func initRootDirectory() error {

func OnBoot() error {
if environ.GetEnv("TIGA_SKIP_IPDB", "false") == "false" {
if err := ipdb.InitMMDB(); err != nil {
return err
}
ipdb.InitMMDB()
}
return initRootDirectory()
}

0 comments on commit 99db421

Please sign in to comment.