clean comments

This commit is contained in:
yourok
2019-05-17 10:51:57 +03:00
parent 6ba43cc55a
commit 6443c69307

View File

@@ -46,6 +46,4 @@ func (bt *BTServer) Play(torr *Torrent, file *torrent.File, preload int64, c ech
redirectUrl := c.Scheme() + "://" + c.Request().Host + "/torrent/view/" + torr.Hash().HexString() + "/" + utils.CleanFName(file.Path()) redirectUrl := c.Scheme() + "://" + c.Request().Host + "/torrent/view/" + torr.Hash().HexString() + "/" + utils.CleanFName(file.Path())
return c.Redirect(http.StatusFound, redirectUrl) return c.Redirect(http.StatusFound, redirectUrl)
//return bt.View(torr, file, c)
} }