Skip to content
This repository has been archived by the owner on May 11, 2023. It is now read-only.

Commit

Permalink
rad-sync: Don't show canonical if not delegate
Browse files Browse the repository at this point in the history
Signed-off-by: Alexis Sellier <[email protected]>
  • Loading branch information
cloudhead committed Mar 2, 2022
1 parent 457e540 commit 9224dde
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions sync/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -341,14 +341,16 @@ pub fn push_project(
term::blank();

if is_routable {
term::indented(&format!(
"{} {}",
term::format::dim("(web)"),
term::format::highlight(format!(
"https://{}/seeds/{}/{}",
GATEWAY_HOST, host, project_urn
))
));
if proj.remotes.contains(peer_id) {
term::indented(&format!(
"{} {}",
term::format::dim("(web)"),
term::format::highlight(format!(
"https://{}/seeds/{}/{}",
GATEWAY_HOST, host, project_urn
))
));
}
term::indented(&format!(
"{} {}",
term::format::dim("(web)"),
Expand Down

0 comments on commit 9224dde

Please sign in to comment.