fix(front): try to correct crash on ios
This commit is contained in:
@@ -435,9 +435,7 @@ async function createVlog() {
|
||||
formData.append('thumbnail', newVlog.value.thumbnailFile)
|
||||
}
|
||||
|
||||
const response = await axios.post('/api/vlogs/upload', formData, {
|
||||
headers: { 'Content-Type': 'multipart/form-data' }
|
||||
})
|
||||
const response = await axios.post('/api/vlogs/upload', formData)
|
||||
|
||||
vlogs.value.unshift(response.data)
|
||||
showCreateModal.value = false
|
||||
|
||||
Reference in New Issue
Block a user