fix geodata-mode

This commit is contained in:
xishang0128 2023-08-07 01:43:23 +08:00
parent 68bf6f16ac
commit bad9f2e6dc

View File

@ -536,6 +536,7 @@ func parseGeneral(cfg *RawConfig) (*General, error) {
C.GeoIpUrl = cfg.GeoXUrl.GeoIp
C.GeoSiteUrl = cfg.GeoXUrl.GeoSite
C.MmdbUrl = cfg.GeoXUrl.Mmdb
C.GeodataMode = cfg.GeodataMode
// checkout externalUI exist
if externalUI != "" {
externalUI = C.Path.Resolve(externalUI)