- code cleanup and security checks

This commit is contained in:
Amruth Pillai
2020-07-03 21:04:43 +05:30
parent c53cd84722
commit dd5e594dc9

View File

@ -1,8 +1,4 @@
/** require("dotenv").config();
* Configure your Gatsby site with this file.
*
* See: https://www.gatsbyjs.org/docs/gatsby-config/
*/
module.exports = { module.exports = {
plugins: [ plugins: [
@ -44,14 +40,14 @@ module.exports = {
resolve: "gatsby-plugin-firebase", resolve: "gatsby-plugin-firebase",
options: { options: {
credentials: { credentials: {
apiKey: "AIzaSyCfC075KJNwsMWDTm6k8QCtWno48okM7wY", apiKey: process.env.FIREBASE_APIKEY,
authDomain: "rx-resume.firebaseapp.com", authDomain: process.env.FIREBASE_AUTHDOMAIN,
databaseURL: "https://rx-resume.firebaseio.com", databaseURL: process.env.FIREBASE_DATABASEURL,
projectId: "rx-resume", projectId: process.env.FIREBASE_PROJECTID,
storageBucket: "rx-resume.appspot.com", storageBucket: process.env.FIREBASE_STORAGEBUCKET,
messagingSenderId: "493152774539", messagingSenderId: process.env.FIREBASE_MESSAGINGSENDERID,
appId: "1:493152774539:web:ecaa1222f5e1bcf8fb678e", appId: process.env.FIREBASE_APPID,
measurementId: "G-83G3Y6DPJ6", measurementId: process.env.FIREBASE_MEASUREMENTID,
}, },
}, },
}, },