feat: support media files upload via paste and drop
This commit is contained in:
parent
533e00d4ee
commit
4bfdd4f334
20 changed files with 162 additions and 85 deletions
|
|
@ -63,7 +63,7 @@ export function MediaUploadServiceProvider({ children }: { children: React.React
|
|||
})
|
||||
|
||||
if (!response.ok) {
|
||||
throw new Error(response.status.toString())
|
||||
throw new Error(response.status.toString() + ' ' + response.statusText)
|
||||
}
|
||||
|
||||
const data = await response.json()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue