3

I created a Polymer App and I want to deploy it to Firebase Hosting. Most of the documentation I followed puts the Firebase initialization code on the index.html file.

Things like the API key get exposed on View Source. Is there a better way to implement this and keep the API keys hidden?

AL.
  • 36,815
  • 10
  • 142
  • 281
joemokenela
  • 299
  • 1
  • 9

1 Answers1

0

The API Key is used to identify your Firebase project. Don't worry about that the key is exposed to user.

Read more: