mirror of
https://github.com/ChatGPTNextWeb/ChatGPT-Next-Web.git
synced 2025-05-25 07:00:23 +09:00
chore: modify supported upload types
This commit is contained in:
parent
958ab02d1e
commit
7382ce48bb
@ -1363,7 +1363,7 @@ function _Chat() {
|
||||
...(await new Promise<FileInfo[]>((res, rej) => {
|
||||
const fileInput = document.createElement("input");
|
||||
fileInput.type = "file";
|
||||
fileInput.accept = ".pdf,.txt,.json,.csv,.md";
|
||||
fileInput.accept = ".pdf,.txt,.md,.json,.csv,.docx,.srt,.mp3";
|
||||
fileInput.multiple = true;
|
||||
fileInput.onchange = (event: any) => {
|
||||
setUploading(true);
|
||||
|
Loading…
Reference in New Issue
Block a user