Dapps errors embeddable on signer (#3115)

This commit is contained in:
Tomasz Drwięga
2016-11-03 12:22:28 +01:00
committed by Gav Wood
parent d99f1b517c
commit e251fd49a1
9 changed files with 37 additions and 24 deletions

View File

@@ -41,6 +41,7 @@ pub fn host_invalid_response() -> Box<server::Handler<HttpStream> + Send> {
Box::new(ContentHandler::error(StatusCode::Forbidden,
"Current Host Is Disallowed",
"You are trying to access your node using incorrect address.",
Some("Use allowed URL or specify different <code>hosts</code> CLI options.")
Some("Use allowed URL or specify different <code>hosts</code> CLI options."),
None,
))
}