Skip to content
This repository has been archived by the owner on Jul 6, 2022. It is now read-only.

Commit

Permalink
fix: change way of building google maps link
Browse files Browse the repository at this point in the history
  • Loading branch information
eze-kiel committed Jun 15, 2022
1 parent ceb217d commit 82f11e1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/utils.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ var AllCities []string
// CreateMapLinkFromAddr creates a link to Google Maps, built with the address
// and the city provided
func CreateMapLinkFromAddr(addr, city string) string {
prefix := "https://www.google.com/maps/place/"
prefix := "https://www.google.com/maps/search/"
suffix := strings.ReplaceAll(addr+" "+city, " ", "+")
return prefix + suffix
}
Expand Down

0 comments on commit 82f11e1

Please sign in to comment.