re-add /check as per discussion

This commit is contained in:
Jimmy Zelinskie
2014-07-22 01:19:09 -04:00
parent 858258f884
commit 4514705363
2 changed files with 10 additions and 0 deletions

View File

@@ -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
}