Set cloud functions environment
This commit is contained in:
parent
9974de574a
commit
03567ad5cf
|
@ -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
1
functions/.env
Normal file
|
@ -0,0 +1 @@
|
||||||
|
NEXT_PUBLIC_FIREBASE_ENV=SUPERSYNC
|
3
functions/.gitignore
vendored
3
functions/.gitignore
vendored
|
@ -1,6 +1,3 @@
|
||||||
# Secrets
|
|
||||||
.env*
|
|
||||||
|
|
||||||
# Compiled JavaScript files
|
# Compiled JavaScript files
|
||||||
lib/**/*.js
|
lib/**/*.js
|
||||||
lib/**/*.js.map
|
lib/**/*.js.map
|
||||||
|
|
Loading…
Reference in New Issue
Block a user