1
0
mirror of https://github.com/zu1k/nali.git synced 2025-02-02 10:22:41 +08:00

fix: ip2location language only support en

Signed-off-by: zu1k <i@zu1k.com>
This commit is contained in:
zu1k 2022-05-17 13:50:30 +08:00
parent 44606cde27
commit 4482839a05
2 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,7 @@ func GetDefaultDBList() List {
Name: "ip2location",
Format: FormatIP2Location,
File: "IP2LOCATION-LITE-DB3.IPV6.BIN",
Languages: LanguagesAll,
Languages: LanguagesEN,
Types: TypesIP,
},

View File

@ -74,6 +74,7 @@ const (
var (
LanguagesAll = []string{"ALL"}
LanguagesZH = []string{"zh-CN"}
LanguagesEN = []string{"en"}
)
type Type string