Set cloud functions environment

This commit is contained in:
Austin Chen 2022-03-08 19:47:35 -08:00
parent 9974de574a
commit 03567ad5cf
3 changed files with 1 additions and 4 deletions

View File

@ -5,7 +5,6 @@ service cloud.firestore {
match /databases/{database}/documents { match /databases/{database}/documents {
function isAdmin() { function isAdmin() {
return true
return request.auth.uid == 'P0UsBCW7VmSR0co39kFlsjxWgLQ2' // Austin return request.auth.uid == 'P0UsBCW7VmSR0co39kFlsjxWgLQ2' // Austin
// || request.auth.uid == 'czxKSN1Z03Mzu7UqIio3ppM0eDt2' // David // || request.auth.uid == 'czxKSN1Z03Mzu7UqIio3ppM0eDt2' // David
} }

1
functions/.env Normal file
View File

@ -0,0 +1 @@
NEXT_PUBLIC_FIREBASE_ENV=SUPERSYNC

View File

@ -1,6 +1,3 @@
# Secrets
.env*
# Compiled JavaScript files # Compiled JavaScript files
lib/**/*.js lib/**/*.js
lib/**/*.js.map lib/**/*.js.map