π¨ The ultimate agentic social media scheduling tool π€
TypeScript nextjsopen-sourceopen-source-social-media-scheduling-toolosspostiz-cloudpostiz-hostedredisscheduling-toolsocial-media-scheduling-tooltypescript
feat: restrict files
Nevo David0ff50a0565f9
diff --git a/apps/frontend/src/components/media/new.uploader.tsx b/apps/frontend/src/components/media/new.uploader.tsxindex ba1e82a40..850fdc845 100644--- a/apps/frontend/src/components/media/new.uploader.tsx+++ b/apps/frontend/src/components/media/new.uploader.tsx@@ -93,22 +93,14 @@ export function useUppyUploader(props: {'image/jpeg','image/jpg','image/gif',- 'image/webp',- 'image/svg+xml',];}if (type === 'video/*') {return ['video/mp4','video/mpeg',- 'video/quicktime',- 'video/x-msvideo',- 'video/webm',];}- if (type === 'audio/*') {- return ['audio/mpeg', 'audio/wav', 'audio/ogg', 'audio/mp3'];- }return [type];});