in the docs
https://firebase.google.com/docs/firestore/security/get-started#use_the_firebase_cli
I know i can deploy rules using:
firebase deploy --only firestore:rules
is there a way for me to specify the location of the rules file?
You cannot specify the rules file location in a command-line flag, but you can set it in firebase.json
:
{
"firestore": {
"rules": "path/to/your/firestore.rules"
}
}
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With