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

View File

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