Merge pull request #730 from unihorn/65

chore(server): deprecate mod temporarily
This commit is contained in:
Yicheng Qin
2014-04-18 10:46:09 -07:00
4 changed files with 19 additions and 5 deletions

View File

@@ -207,7 +207,9 @@ func (s *Server) HTTPHandler() http.Handler {
s.handleFunc(router, "/version", s.GetVersionHandler).Methods("GET")
s.installV1(router)
s.installV2(router)
s.installMod(router)
// Mod is deprecated temporariy due to its unstable state.
// It would be added back later.
// s.installMod(router)
if s.trace {
s.installDebug(router)