I'm hosting a website on GitHub pages but I keep getting the error 'referrer not allowed' when I try to load the Google Maps API script. I've added the page's URL to the API console (and I've tried lots of variations) and it keeps saying the same thing.
Does anyone know why this might be?
Recreating the API key at https://console.developers.google.com will fix the issue. And use your current GitHub pages domain URL to generate the API key
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With