Point local server to prod Firebase for now (#13)

This commit is contained in:
Austin Chen 2021-12-29 23:31:26 -08:00 committed by GitHub
parent b06d41e31a
commit a9e1cbc0be
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,7 +1,9 @@
import { getFirestore } from '@firebase/firestore' import { getFirestore } from '@firebase/firestore'
import { initializeApp } from 'firebase/app' import { initializeApp } from 'firebase/app'
export const isProd = process.env.NODE_ENV === 'production' // TODO: Reenable this when we have a way to set the Firebase db in dev
// export const isProd = process.env.NODE_ENV === 'production'
export const isProd = true
const firebaseConfig = isProd const firebaseConfig = isProd
? { ? {