diff --git a/web/vite.config.ts b/web/vite.config.ts index e46e313..7239ec0 100644 --- a/web/vite.config.ts +++ b/web/vite.config.ts @@ -52,7 +52,24 @@ export default defineConfig({ files: [ { name: "files", - accept: ["*/*"], + accept: [ + "image/*", + "video/*", + "audio/*", + "application/pdf", + "application/zip", + "application/x-zip-compressed", + "text/*", + "application/msword", + "application/vnd.openxmlformats-officedocument.*", + "application/vnd.ms-excel", + "application/vnd.ms-powerpoint", + ".pdf", ".zip", ".doc", ".docx", ".xls", ".xlsx", + ".ppt", ".pptx", ".txt", ".csv", ".json", ".xml", + ".mp3", ".mp4", ".mov", ".avi", ".mkv", ".webm", + ".png", ".jpg", ".jpeg", ".gif", ".webp", ".heic", ".heif", + ".svg", + ], }, ], },