Skip to content

A one-of-a-kind resume builder that keeps your privacy in mind. Completely secure, customizable, portable, open-source and free forever. Try it out today!

- code cleanup and security checks

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