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:
parent
44606cde27
commit
4482839a05
@ -66,7 +66,7 @@ func GetDefaultDBList() List {
|
|||||||
Name: "ip2location",
|
Name: "ip2location",
|
||||||
Format: FormatIP2Location,
|
Format: FormatIP2Location,
|
||||||
File: "IP2LOCATION-LITE-DB3.IPV6.BIN",
|
File: "IP2LOCATION-LITE-DB3.IPV6.BIN",
|
||||||
Languages: LanguagesAll,
|
Languages: LanguagesEN,
|
||||||
Types: TypesIP,
|
Types: TypesIP,
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -74,6 +74,7 @@ const (
|
|||||||
var (
|
var (
|
||||||
LanguagesAll = []string{"ALL"}
|
LanguagesAll = []string{"ALL"}
|
||||||
LanguagesZH = []string{"zh-CN"}
|
LanguagesZH = []string{"zh-CN"}
|
||||||
|
LanguagesEN = []string{"en"}
|
||||||
)
|
)
|
||||||
|
|
||||||
type Type string
|
type Type string
|
||||||
|
Loading…
Reference in New Issue
Block a user