Skip to content

Commit

Permalink
Use NC URL to download cities list
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <[email protected]>
  • Loading branch information
artonge committed Nov 21, 2023
1 parent ba2862b commit 55778c1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Service/ReverseGeoCoderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ private function downloadCities1000(bool $force = false): void {
}

// Download zip file to a tmp file.
$response = $this->clientService->newClient()->get("https://download.geonames.org/export/dump/cities1000.zip");
$response = $this->clientService->newClient()->get("https://download.nextcloud.com/server/apps/photos/cities1000.zip");
$tmpFile = tmpfile();
$cities1000ZipTmpFileName = stream_get_meta_data($tmpFile)['uri'];
fclose($tmpFile);
Expand Down

0 comments on commit 55778c1

Please sign in to comment.