Skip to content

Instantly share code, notes, and snippets.

@AmandaCarvalho-R
Created August 8, 2023 18:14
Show Gist options
  • Save AmandaCarvalho-R/7759d12b814f18bc404843e6fa39b7ba to your computer and use it in GitHub Desktop.
Save AmandaCarvalho-R/7759d12b814f18bc404843e6fa39b7ba 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