bump ver for tag

This commit is contained in:
nikk gitanes
2023-05-20 17:11:37 +03:00
parent eba4b536dc
commit ea4493462f
3 changed files with 2 additions and 4 deletions

View File

@@ -59,7 +59,7 @@ func (t *Torrent) Stream(fileID int, req *http.Request, resp http.ResponseWriter
}
}
sets.SetViewed(&sets.Viewed{t.Hash().HexString(), fileID})
sets.SetViewed(&sets.Viewed{Hash: t.Hash().HexString(), FileIndex: fileID})
resp.Header().Set("Connection", "close")
etag := hex.EncodeToString([]byte(fmt.Sprintf("%s/%s", t.Hash().HexString(), file.Path())))