feat: support media files upload via paste and drop

This commit is contained in:
codytseng
2025-05-09 23:23:17 +08:00
parent 533e00d4ee
commit 4bfdd4f334
20 changed files with 162 additions and 85 deletions

View File

@@ -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()