Skip to content

Commit

Permalink
Fix maps key in secrets file
Browse files Browse the repository at this point in the history
  • Loading branch information
tramuntanal committed Apr 26, 2024
1 parent 167ded1 commit 3d52017
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
4 changes: 4 additions & 0 deletions config/initializers/decidim.rb
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,10 @@
api_key: Rails.application.secrets.maps[:api_key],
static: { url: "https://image.maps.ls.hereapi.com/mia/1.6/mapview" }
}
config.geocoder = {
timeout: 5,
units: :km
}

# Custom HTML Header snippets
#
Expand Down
2 changes: 1 addition & 1 deletion config/secrets.yml
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@ default: &default
client_id: <%= ENV["OMNIAUTH_GOOGLE_CLIENT_ID"] %>
client_secret: <%= ENV["OMNIAUTH_GOOGLE_CLIENT_SECRET"] %>
maps:
here_api_key: <%= ENV["GEOCODER_LOOKUP_API_KEY"] %>
api_key: <%= ENV["GEOCODER_LOOKUP_API_KEY"] %>
etherpad:
server: <%= ENV["ETHERPAD_SERVER"] %>
api_key: <%= ENV["ETHERPAD_API_KEY"] %>
Expand Down

0 comments on commit 3d52017

Please sign in to comment.