'firebase connection error in env react js project
When i try to connecting firebase i put the access key to the .env file and access the data by process.env.REACT_APP_apiKey i'm getting error.but if directly put the data its connecting .how can i connect through .env? here is env file code
REACT_APP_apiKey='AIzaSyCpkeAyg9N1WVHroJjmWEbBPE3oaYss',
REACT_APP_authDomain='wirehouse-e5b3.firebaseapp.com',
REACT_APP_projectId='wirehouse-e5b3',
REACT_APP_storageBucket='wirehouse-e5bb3.appspot.com',
REACT_APP_messagingSenderId='48872098267',
REACT_APP_appId='1:47703338267:web:60145529342567681bdd',
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
