diff --git a/internal/xray/geodata/token.go b/internal/xray/geodata/token.go index 0e120cc..a100a3d 100644 --- a/internal/xray/geodata/token.go +++ b/internal/xray/geodata/token.go @@ -3,15 +3,14 @@ package geodata import ( "errors" "strings" - - xraygeodata "github.com/xtls/xray-core/common/geodata" ) // DefaultSiteFile and DefaultIPFile are the databases the geosite: and geoip: -// shorthands expand to. +// shorthands expand to. They are xray-core's file names, inlined so this +// package no longer links the core library just for two constants. const ( - DefaultSiteFile = xraygeodata.DefaultGeoSiteDat - DefaultIPFile = xraygeodata.DefaultGeoIPDat + DefaultSiteFile = "geosite.dat" + DefaultIPFile = "geoip.dat" ) var (