Skip to content

Commit a88a556

Browse files
committed
feat: increase max file size upload limit to 8 mb, #129
1 parent eb5a26c commit a88a556

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

client/storage.rules

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,9 +60,9 @@ service firebase.storage {
6060
|| requestData.name.matches('users/.*/.*_thumbnail'));
6161
}
6262

63-
// Only allow uploads of any file that's less than 4MB
63+
// Only allow uploads of any file that's less than 8MB
6464
function validFileSize (requestData) {
65-
return requestData.size < 4 * 1024 * 1024;
65+
return requestData.size < 8 * 1024 * 1024;
6666
}
6767

6868
// FILES matching rules --------------------------------------------------------

0 commit comments

Comments
 (0)