How to hide API key? #65
Replies: 1 comment 1 reply
-
You don't need to hide it, nobody can use it if it is not enabled in that domain. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello, I was trying to use google-maps-react for a project and ran into the issue of glitchy markers. This library is awesome for fixing that so thanks very much to the contributors.
My only problem now is that I don't know how to hide the API key. I'm new to React and I'm using Nextjs for the project. Online, it seems like the standard practice is to make API calls on the server-side because everything gets bundled together on the front-end upon building. However, since the API call to Google Maps happens within the code for google-maps-react-markers, how would I go about hiding my API key if I were to make my application available to users?
Beta Was this translation helpful? Give feedback.
All reactions