check file size in server action
This commit is contained in:
2
src/util/media.ts
Normal file
2
src/util/media.ts
Normal file
@@ -0,0 +1,2 @@
|
||||
export const allowedImageTypes = ['image/png', 'image/jpeg', 'image/webp', 'image/avif'];
|
||||
export const allowedVideoTypes = ['video/mp4', 'video/webm'];
|
||||
Reference in New Issue
Block a user