Skip to content

Commit

Permalink
feat: add support for PPT(x) files
Browse files Browse the repository at this point in the history
  • Loading branch information
aalemayhu committed Dec 4, 2024
1 parent 1341ba6 commit d9d08c2
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion src/pages/UploadPage/helpers/getAcceptedContentTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,14 @@
* @returns comma seperated string with supported file types
*/
export default function getAcceptedContentTypes(): string {
return '.zip,.html,.csv,.md,.pdf';
const acceptedTypes = [
'.zip',
'.html',
'.csv',
'.md',
'.pdf',
'.ppt',
'.pptx',
];
return acceptedTypes.join(',');
}

0 comments on commit d9d08c2

Please sign in to comment.