How do I deploy Firebase Database Security rules using the command line?

后端 未结 4 554
感动是毒
感动是毒 2020-12-28 13:13

In older versions of Firebase, we could add a rules section to our firebase.json file, and upload new security rules on every deploy.

How d

4条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2020-12-28 13:48

    You can use firebase deploy --only database if you only want to update database rules. It will overwrite your existing rules.

    You can check out Firebase CLI Reference for more info

提交回复
热议问题