mirror of
https://github.com/CompassConnections/Compass.git
synced 2026-04-14 03:27:44 -04:00
Fix vercel env key
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
# Or manually run `npx prisma init --db` to create a Prisma Postgres and manually set the `DATABASE_URL` below
|
||||
|
||||
# Create a random 32-character string or run `npx auth secret` to obtain one and set it as the `AUTH_SECRET` below
|
||||
|
||||
LOCAL=1
|
||||
GOOGLE_CLIENT_ID=
|
||||
GOOGLE_CLIENT_SECRET=
|
||||
NEXTAUTH_SECRET=
|
||||
|
||||
@@ -76,7 +76,7 @@ export const getServiceAccountCredentials = (env: 'PROD' | 'DEV') => {
|
||||
env === 'PROD'
|
||||
? process.env.PROD_FIREBASE_SERVICE_ACCOUNT_KEY
|
||||
: process.env.DEV_FIREBASE_SERVICE_ACCOUNT_KEY
|
||||
if (value) {
|
||||
if (value && !process.env.LOCAL) {
|
||||
return JSON.parse(value)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user