firebase hosting using .env for api key showing error > index.cjs.js:536 Uncaught FirebaseError: projectId must be a string in FirebaseApp.options

前端 未结 0 1112
你的背包
你的背包 2020-12-31 12:44

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:

相关标签:
回答
  • 消灭零回复
提交回复
热议问题