Defining an Google Cloud Platform API restriction when using Local?

On my Google Cloud Platform I’ve set up an API key so I can access google maps for my locally hosted website using LbF to do the hosting, obviously. Now I’m aware the Local Virtual Machine is created on a host-only network with VirtualBox and if I open the Hosts file I will see what local IP addresses Local sites are using. I’m also using Git to backup my repository and Github has alerted me to the fact I’ve got an API key exposed. So apparently I can place restrictions on the the use of my key. When I go to the Google Cloud Platform to do this the viable option for me is “HTTP referrers (websites)”.
But what do I put in this field so that when my locally hosted site puts in a map request it’s not blocked?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.