Disabling rpc until we switch to async hyper

This commit is contained in:
Tomasz Drwięga
2016-04-07 16:22:02 +02:00
parent bf4ab6daa8
commit b7c790d741
4 changed files with 6 additions and 6 deletions

View File

@@ -36,7 +36,7 @@ impl hyper::server::Handler for Router {
self.pages.get(url).unwrap().handle(req, res);
}
_ if req.method == hyper::method::Method::Post => {
self.rpc.handle(req, res)
// self.rpc.handle(req, res)
},
_ => self.main_page.handle(req, res),
}