Fix Airports/ initial sync

This commit is contained in:
James Turner 2020-10-30 19:23:00 +00:00 committed by James Turner
parent 72b2eb0ebf
commit c7b320eb55

View File

@ -642,7 +642,7 @@ void SGTerraSync::WorkerThread::beginSyncAirports(SyncSlot& slot)
// the Airports_archive.tar.gz file so we use our TerraSync local root // the Airports_archive.tar.gz file so we use our TerraSync local root
// as the path (since the archive will add Airports/) // as the path (since the archive will add Airports/)
slot.repository.reset(new HTTPRepository(_local_dir, &_http)); slot.repository.reset(new HTTPRepository(_local_dir, &_http));
slot.repository->setBaseUrl(_httpServer + "/"); slot.repository->setBaseUrl(_httpServer);
// filter callback to *only* sync the Airport_archive tarball, // filter callback to *only* sync the Airport_archive tarball,
// and ensure no other contents are touched // and ensure no other contents are touched