mirror of
https://github.com/sot-tech/mochi.git
synced 2026-05-11 14:41:16 -07:00
re-add /check as per discussion
This commit is contained in:
@@ -68,6 +68,7 @@ func newRouter(s *Server) *httprouter.Router {
|
||||
r.PUT("/torrents/:infohash", makeHandler(s.putTorrent))
|
||||
r.DELETE("/torrents/:infohash", makeHandler(s.delTorrent))
|
||||
r.GET("/check", makeHandler(s.check))
|
||||
r.GET("/stats", makeHandler(s.stats))
|
||||
|
||||
return r
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user