Skip to content

Commit b27a9d1

Browse files
committed
add support for upload json
1 parent 916f461 commit b27a9d1

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

frontend/src/components/DataSources/Local/DropZone.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -237,6 +237,7 @@ const DropZone: FunctionComponent = () => {
237237
'application/vnd.ms-excel': ['.xls'],
238238
'text/markdown': ['.md'],
239239
'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['.xlsx'],
240+
'application/json': ['.json'],
240241
},
241242
onDrop: (f: Partial<globalThis.File>[]) => {
242243
onDropHandler(f);

0 commit comments

Comments
 (0)