Add option for http mount
This commit is contained in:
@@ -97,7 +97,7 @@ func handleSingleTorrent(requestPath string, w http.ResponseWriter, r *http.Requ
|
||||
return nil, fmt.Errorf("cannot find directory when generating single torrent: %s", requestPath)
|
||||
}
|
||||
|
||||
resp, err := createSingleTorrentResponse("/"+directory, sameNameTorrents, t)
|
||||
resp, err := createSingleTorrentResponse("/"+directory, sameNameTorrents)
|
||||
if err != nil {
|
||||
return nil, fmt.Errorf("cannot read directory (%s): %w", requestPath, err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user