We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9deb8d2 commit 71ef33cCopy full SHA for 71ef33c
apps/ai-dial-admin/src/constants/file.ts
@@ -57,6 +57,12 @@ export const contentTypes: Record<string, string> = {
57
'.csv': 'text/csv',
58
// pdf
59
'.pdf': 'application/pdf',
60
+ // audio/video
61
+ '.mp3': 'audio/mpeg',
62
+ '.wav': 'audio/wav',
63
+ '.ogg': 'audio/ogg',
64
+ '.mp4': 'video/mp4',
65
+ '.webm': 'video/webm',
66
};
67
// same as bodySizeLimit in server config
68
export const MAX_FILE_SIZE_MB = 4;
0 commit comments