Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

GoogleからAPIキーを公開する場合の制限について案内があったので実施する #18

Open
tokku5552 opened this issue May 31, 2023 · 1 comment

Comments

@tokku5552
Copy link
Owner

https://cloud.google.com/docs/authentication/api-keys?hl=ja#api_key_restrictions

@kosukesaigusa
Copy link
Collaborator

基本的に HTTP リファラーで、Firebase Hosting にデプロイした時の URL を指定すれば良さそう。
ただし、開発用に localhost(や ngrok が払い出したURL)で Google Maps のウィジェットを表示するときにどうなるかは調査が必要。使えなくなるようなら、誰にも公開しない開発用の Google Maps API キーを作るか、開発者が各人で作成するかになる?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants