Adding explanatory comment for safe_to_embed
This commit is contained in:
parent
ae1bcd6a5b
commit
67421fc69e
@ -40,6 +40,9 @@ pub fn all_endpoints() -> Endpoints {
|
||||
let mut pages = Endpoints::new();
|
||||
pages.insert("proxy".into(), ProxyPac::boxed());
|
||||
|
||||
// Home page needs to be safe embed
|
||||
// because we use Cross-Origin LocalStorage.
|
||||
// TODO [ToDr] Account naming should be moved to parity.
|
||||
pages.insert("home".into(), Box::new(
|
||||
PageEndpoint::new_safe_to_embed(parity_dapps_builtins::App::default())
|
||||
));
|
||||
|
Loading…
Reference in New Issue
Block a user