mirror of
https://github.com/reiyua/BraycedForUnbased.git
synced 2026-11-17 06:22:07 +11:00
Configure Google Firebase Storage
This commit is contained in:
parent
9b4870cc80
commit
3224b9c91e
2 changed files with 15 additions and 0 deletions
|
|
@ -16,5 +16,8 @@
|
|||
"destination": "/index.html"
|
||||
}
|
||||
]
|
||||
},
|
||||
"storage": {
|
||||
"rules": "storage.rules"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
12
storage.rules
Normal file
12
storage.rules
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
rules_version = '2';
|
||||
|
||||
// Craft rules based on data in your Firestore database
|
||||
// allow write: if firestore.get(
|
||||
// /databases/(default)/documents/users/$(request.auth.uid)).data.isAdmin;
|
||||
service firebase.storage {
|
||||
match /b/{bucket}/o {
|
||||
match /{allPaths=**} {
|
||||
allow read, write: if false;
|
||||
}
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Reference in a new issue