mirror of https://github.com/Xhofe/alist
fix: missed mimetype of stream in aria2 monitor
parent
ee2bc99e4c
commit
7dadab95b2
|
@ -139,7 +139,7 @@ func (m *Monitor) Complete() error {
|
|||
IsFolder: false,
|
||||
},
|
||||
ReadCloser: f,
|
||||
Mimetype: "",
|
||||
Mimetype: mimetype,
|
||||
}
|
||||
return operations.Put(tsk.Ctx, account, dstDirActualPath, stream, tsk.SetProgress)
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue