Skip to content

Commit

Permalink
feat: allow previewing CSV files as plaintext (#1188)
Browse files Browse the repository at this point in the history
  • Loading branch information
amanharwara committed Jul 1, 2022
1 parent 53ff072 commit 87213e9
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
export const PreviewableTextFileTypes = ['text/plain', 'application/json']
export const PreviewableTextFileTypes = ['text/plain', 'text/csv', 'application/json']

export const isFileTypePreviewable = (fileType: string) => {
const isImage = fileType.startsWith('image/')
Expand Down

0 comments on commit 87213e9

Please sign in to comment.