Skip to content

Commit

Permalink
Set geonames usernames using environment variable
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Aug 24, 2023
1 parent 4d3ddb9 commit 3f5efb4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .dassie/config/initializers/hyrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@
config.browse_everything = nil
end

# config.geonames_username = ''
config.geonames_username = ENV['GEONAMES_USERNAME'] || ''

##
# Set the system-wide virus scanner
Expand Down
2 changes: 1 addition & 1 deletion .koppie/config/initializers/hyrax.rb
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@

# Location autocomplete uses geonames to search for named regions
# Username for connecting to geonames
# config.geonames_username = ''
config.geonames_username = ENV['GEONAMES_USERNAME'] || ''

# Should the acceptance of the licence agreement be active (checkbox), or
# implied when the save button is pressed? Set to true for active
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@

# Location autocomplete uses geonames to search for named regions
# Username for connecting to geonames
# config.geonames_username = ''
config.geonames_username = ENV['GEONAMES_USERNAME'] || ''

# Should the acceptance of the licence agreement be active (checkbox), or
# implied when the save button is pressed? Set to true for active
Expand Down

0 comments on commit 3f5efb4

Please sign in to comment.