mirror of
https://github.com/mitb-archive/filebot
synced 2025-03-09 13:59:49 -04:00
Use -Dcloud.google.geocode=apikey for custom Google Cloud API key
This commit is contained in:
parent
7e67b93aaf
commit
1cf72f24e7
@ -141,7 +141,7 @@ public class ImageMetadata {
|
||||
}
|
||||
|
||||
protected String getGeocodeKey() {
|
||||
return Optional.ofNullable(System.getenv("GEOCODE_APIKEY")).orElse(getApiKey("google.geocode"));
|
||||
return System.getProperty("cloud.google.geocode", getApiKey("google.geocode"));
|
||||
}
|
||||
|
||||
public enum AddressComponent {
|
||||
|
Loading…
x
Reference in New Issue
Block a user