Local dapps embeddable on signer port (#2815)

This commit is contained in:
Tomasz Drwięga
2016-10-24 16:36:15 +02:00
committed by Gav Wood
parent 487da9c9c6
commit 16ec413508
5 changed files with 18 additions and 11 deletions

View File

@@ -47,7 +47,7 @@ pub fn utils() -> Box<Endpoint> {
pub fn all_endpoints(dapps_path: String, signer_port: Option<u16>) -> Endpoints {
// fetch fs dapps at first to avoid overwriting builtins
let mut pages = fs::local_endpoints(dapps_path);
let mut pages = fs::local_endpoints(dapps_path, signer_port);
// NOTE [ToDr] Dapps will be currently embeded on 8180
insert::<parity_ui::App>(&mut pages, "ui", Embeddable::Yes(signer_port));