fix: GeoIP side-load

This commit is contained in:
H1JK
2023-08-06 21:54:28 +08:00
committed by wwqgtxx
parent a551d7ebd9
commit ebe33cff18
4 changed files with 13 additions and 27 deletions

View File

@@ -54,7 +54,7 @@ func Verify() bool {
return err == nil
}
func DefaultInstance() Reader {
func Instance() Reader {
once.Do(func() {
mmdbPath := C.Path.MMDB()
log.Debugln("Load MMDB file: %s", mmdbPath)