Skip to content

Commit

Permalink
🚑 Critical dotenv hotfix
Browse files Browse the repository at this point in the history
  • Loading branch information
liyasthomas committed May 12, 2020
1 parent a8ba2bf commit bad0604
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
16 changes: 8 additions & 8 deletions functions/fb.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,14 +4,14 @@ import "firebase/auth"

// Initialize Firebase, copied from cloud console
const firebaseConfig = {
apiKey: process.env.API_KEY,
authDomain: process.env.AUTH_DOMAIN,
databaseURL: process.env.DATABASE_URL,
projectId: process.env.PROJECT_ID,
storageBucket: process.env.STORAGE_BUCKET,
messagingSenderId: process.env.MESSAGING_SENDER_ID,
appId: process.env.APP_ID,
measurementId: process.env.MEASUREMENT_ID,
apiKey: process.env.API_KEY || "AIzaSyCMsFreESs58-hRxTtiqQrIcimh4i1wbsM",
authDomain: process.env.AUTH_DOMAIN || "postwoman-api.firebaseapp.com",
databaseURL: process.env.DATABASE_URL || "https://postwoman-api.firebaseio.com",
projectId: process.env.PROJECT_ID || "postwoman-api",
storageBucket: process.env.STORAGE_BUCKET || "postwoman-api.appspot.com",
messagingSenderId: process.env.MESSAGING_SENDER_ID || "421993993223",
appId: process.env.APP_ID || "1:421993993223:web:ec0baa8ee8c02ffa1fc6a2",
measurementId: process.env.MEASUREMENT_ID || "G-ERJ6025CEB",
}
firebase.initializeApp(firebaseConfig)

Expand Down
4 changes: 2 additions & 2 deletions nuxt.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -200,10 +200,10 @@ export default {
keepOnHover: true,
},
googleAnalytics: {
id: process.env.GA_ID,
id: process.env.GA_ID || "UA-61422507-2",
},
gtm: {
id: process.env.GTM_ID,
id: process.env.GTM_ID || "GTM-MXWD8NQ",
},
sitemap: {
hostname: "https://postwoman.io",
Expand Down

0 comments on commit bad0604

Please sign in to comment.