sim
sim copied to clipboard
fix(files): fix json uploads, disable storage metering when billing is disabled, exclude kb uploads from storage metering, simplify serve path route
Summary
- fix json uploads mime type issue by extracting mime type before checking against allowlist
- disable storage metering when billing is disabled
- exclude kb uploads from storage metering
- simplify serve path route to remove /s3 or /blob prefixes, all use /serve/ now
Type of Change
- [x] Bug fix
- [x] New feature
Testing
Tested manually.
Checklist
- [x] Code follows project style guidelines
- [x] Self-reviewed my changes
- [x] Tests added/updated and passing
- [x] No new warnings introduced
- [x] I confirm that I have read and agree to the terms outlined in the Contributor License Agreement (CLA)
The latest updates on your projects. Learn more about Vercel for GitHub.