如何让 GoogleMaps API 密钥在本地主机上工作?
I've created an API key and under referrers I add the following:
Accept requests from these HTTP referrers (websites) (Optional)
Use asterisks for wildcards. If you leave this blank, requests will be
accepted from any referrer. Be sure to add referrers before using this key
in production.
localhost
这不起作用,如果我排除 API 键,它也不起作用。