i am using firebase hosting and put my firebase api key in .env. its works on localhost but when I deploy to the firebase hosting URL it keep showing the error below:
index.cjs.js:536 Uncaught FirebaseError: projectId must be a string in FirebaseApp.options
1.4m articles
1.4m replys
5 comments
57.0k users