Reputation: 83
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?
Upvotes: 3
Views: 1887
Reputation: 424
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
Upvotes: 4