Skip to content

Instantly share code, notes, and snippets.

@ismarsantos
Forked from AmandaCarvalho-R/maps.txt
Created August 8, 2023 18:16
Show Gist options
  • Save ismarsantos/503e423dafbaf7e49bed05aa5abc20c2 to your computer and use it in GitHub Desktop.
Save ismarsantos/503e423dafbaf7e49bed05aa5abc20c2 to your computer and use it in GitHub Desktop.
Google maps configuration
step 1
sudo nano /etc/hosts
add line
127.0.1.1 lvh.me
https://console.cloud.google.com/apis/credentials
Set an application restriction
Application restrictions limit an API key’s usage to specific websites, IP addresses, Android applications, or iOS applications. You can set one application restriction per key.
Websites
*.lvh.me/*
*.yourdomain.com/*
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment