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

@@ -10,7 +10,7 @@ authors = ["Ethcore <admin@ethcore.io"]
[dependencies]
log = "0.3"
jsonrpc-core = "2.0"
jsonrpc-http-server = { git = "https://github.com/tomusdrw/jsonrpc-http-server.git" }
jsonrpc-http-server = { git = "https://github.com/debris/jsonrpc-http-server.git" }
hyper = { version = "0.8", default-features = false }
iron = { version = "0.3" }
ethcore-rpc = { path = "../rpc" }

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),
}