diff --git a/firestore.rules b/firestore.rules index 9e3c4b61..81772de6 100644 --- a/firestore.rules +++ b/firestore.rules @@ -5,7 +5,6 @@ service cloud.firestore { match /databases/{database}/documents { function isAdmin() { - return true return request.auth.uid == 'P0UsBCW7VmSR0co39kFlsjxWgLQ2' // Austin // || request.auth.uid == 'czxKSN1Z03Mzu7UqIio3ppM0eDt2' // David } diff --git a/functions/.env b/functions/.env new file mode 100644 index 00000000..0bfa1fb6 --- /dev/null +++ b/functions/.env @@ -0,0 +1 @@ +NEXT_PUBLIC_FIREBASE_ENV=SUPERSYNC diff --git a/functions/.gitignore b/functions/.gitignore index 8b54e3dc..e0ba0181 100644 --- a/functions/.gitignore +++ b/functions/.gitignore @@ -1,6 +1,3 @@ -# Secrets -.env* - # Compiled JavaScript files lib/**/*.js lib/**/*.js.map