mirror of
https://github.com/AlistGo/alist.git
synced 2025-04-21 20:18:47 +08:00
fix: missed mimetype of stream in aria2 monitor
This commit is contained in:
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…
x
Reference in New Issue
Block a user