Using parity-ui repository for builds

This commit is contained in:
Tomasz Drwięga
2016-07-08 13:35:25 +02:00
parent 57c14eedfa
commit 0467bfc9ed
7 changed files with 36 additions and 49 deletions

View File

@@ -17,7 +17,7 @@
//! Session handlers factory.
use ws;
use sysui;
use signer;
use authcode_store::AuthCodes;
use std::path::{PathBuf, Path};
use std::sync::Arc;
@@ -111,7 +111,7 @@ impl ws::Handler for Session {
}
// Otherwise try to serve a page.
Ok(sysui::handle(req.resource())
Ok(signer::handle(req.resource())
.map_or_else(
// return 404 not found
|| add_headers(ws::Response::not_found("Not found".into()), "text/plain"),