1
0
mirror of https://github.com/immich-app/immich.git synced 2024-12-25 10:43:13 +02:00

Provide a sensible dumpDirectory for the local-reverse-geocoder module (#759)

Fixes #758
This commit is contained in:
Johannes Zellner 2022-09-28 22:43:34 +02:00 committed by GitHub
parent 28bf497a0b
commit 848781aef5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -109,6 +109,7 @@ export class MetadataExtractionProcessor {
alternateNames: false, alternateNames: false,
}, },
countries: [], countries: [],
dumpDirectory: configService.get('REVERSE_GEOCODING_DUMP_DIRECTORY') || (process.cwd() + '/.reverse-geocoding-dump/'),
}).then(() => { }).then(() => {
this.isGeocodeInitialized = true; this.isGeocodeInitialized = true;
Logger.log('Reverse Geocoding Initialised'); Logger.log('Reverse Geocoding Initialised');