Skip to content

Commit

Permalink
Fix geocoding
Browse files Browse the repository at this point in the history
  • Loading branch information
joemasilotti committed May 17, 2024
1 parent a6148b3 commit 68388f1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -102,6 +102,7 @@ GEM
aws-sigv4 (~> 1.4)
aws-sigv4 (1.4.0)
aws-eventstream (~> 1, >= 1.0.2)
base64 (0.2.0)
bcrypt (3.1.18)
better_html (1.0.16)
actionview (>= 4.0)
Expand Down Expand Up @@ -133,6 +134,7 @@ GEM
crass (1.0.6)
cssbundling-rails (1.0.0)
railties (>= 6.0.0)
csv (3.3.0)
date (3.3.4)
devise (4.9.0)
bcrypt (~> 3.0)
Expand Down Expand Up @@ -188,7 +190,9 @@ GEM
ffi (>= 1.0.0)
rake
gemoji (4.0.0.rc3)
geocoder (1.7.3)
geocoder (1.8.3)
base64 (>= 0.1.0)
csv (>= 3.0.0)
globalid (1.2.1)
activesupport (>= 6.1)
groupdate (6.0.1)
Expand Down
5 changes: 5 additions & 0 deletions config/initializers/geocoder.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
Geocoder.configure(
http_headers: {
"User-Agent" => "railsdevs.com"
}
)

0 comments on commit 68388f1

Please sign in to comment.