mirror of
https://github.com/danny-avila/LibreChat.git
synced 2025-12-16 16:30:15 +01:00
doc update: firebase.md (#1456)
This commit is contained in:
parent
379e470e38
commit
8735db0980
1 changed files with 30 additions and 1 deletions
|
|
@ -71,4 +71,33 @@ FIREBASE_PROJECT_ID=project_id #projectId
|
||||||
FIREBASE_STORAGE_BUCKET=storage_bucket #storageBucket
|
FIREBASE_STORAGE_BUCKET=storage_bucket #storageBucket
|
||||||
FIREBASE_MESSAGING_SENDER_ID=messaging_sender_id #messagingSenderId
|
FIREBASE_MESSAGING_SENDER_ID=messaging_sender_id #messagingSenderId
|
||||||
FIREBASE_APP_ID=1:your_app_id #appId
|
FIREBASE_APP_ID=1:your_app_id #appId
|
||||||
```
|
```
|
||||||
|
|
||||||
|
- Return one last time to the Project Overview.
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- Select `Storage`
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- Select `Rules` and delete `: if false;` on this line: `allow read, write: if false;`
|
||||||
|
|
||||||
|
- your updated rules should look like this:
|
||||||
|
|
||||||
|
```bash
|
||||||
|
rules_version = '2';
|
||||||
|
service firebase.storage {
|
||||||
|
match /b/{bucket}/o {
|
||||||
|
match /{allPaths=**} {
|
||||||
|
allow read, write
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
||||||
|
```
|
||||||
|
|
||||||
|

|
||||||
|
|
||||||
|
- Publish your updated rules
|
||||||
|
|
||||||
|

|
||||||
Loading…
Add table
Add a link
Reference in a new issue