fix map embed

This commit is contained in:
Jeff Emmett 2024-12-10 12:28:39 -05:00
parent 9f54400f18
commit 7978772d7b
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ const transformUrl = (url: string): string => {
if (origin && destination) {
return `https://www.google.com/maps/embed/v1/directions?key=${
import.meta.env.VITE_GOOGLE_MAPS_API_KEY
import.meta.env["VITE_GOOGLE_MAPS_API_KEY"]
}&origin=${encodeURIComponent(origin)}&destination=${encodeURIComponent(
destination,
)}&mode=driving`