更新 'simgear/scene/tsync/terrasync.cxx'

This commit is contained in:
zhongjin 2022-11-24 15:55:14 +08:00
parent 83c6dfe13d
commit 8577cbfbef

View File

@ -552,7 +552,10 @@ std::string SGTerraSync::WorkerThread::dnsSelectServerForService(const std::stri
if( naptrRequest->entries.empty() ) {
SG_LOG(SG_TERRASYNC, SG_ALERT, "Warning: no DNS entry found for '" << _dnsdn << "' '" << naptrRequest->qservice << "'" );
return {"https://data.kongjian.xin/fgscenery","https://data.kongjian.xin/osm2city"};
if (service == "ws20" ) return "https://data.kongjian.xin/fgscenery";
if (service == "o2c" ) return "https://data.kongjian.xin/osm2city";
}
// walk through responses, they are ordered by 1. order and 2. preference