mirror of
https://github.com/HChaZZY/alist.git
synced 2025-12-17 07:36:25 +08:00
fix: put as task from web
This commit is contained in:
@@ -65,7 +65,7 @@ func getFileStreamFromLink(file model.Obj, link *model.Link) (model.FileStreamer
|
||||
if mimetype == "" {
|
||||
mimetype = "application/octet-stream"
|
||||
}
|
||||
stream := model.FileStream{
|
||||
stream := &model.FileStream{
|
||||
Obj: file,
|
||||
ReadCloser: rc,
|
||||
Mimetype: mimetype,
|
||||
|
||||
Reference in New Issue
Block a user