-
Notifications
You must be signed in to change notification settings - Fork 735
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: check actual asset file size, not base64 encoded size
Previously we were checking whether the base64 encoded size of an asset was too large (>25Mb). But base64 takes up more space than a normal file, so this was too aggressive.
- Loading branch information
1 parent
3ed29da
commit 88b57c4
Showing
3 changed files
with
32 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"wrangler": patch | ||
--- | ||
|
||
fix: check actual asset file size, not base64 encoded size | ||
|
||
Previously we were checking whether the base64 encoded size of an asset was too large (>25Mb). But base64 takes up more space than a normal file, so this was too aggressive. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters