diff options
Diffstat (limited to 'src/lib/git/nostr_url.rs')
| -rw-r--r-- | src/lib/git/nostr_url.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/git/nostr_url.rs b/src/lib/git/nostr_url.rs index d0e6d8a..6fcc11d 100644 --- a/src/lib/git/nostr_url.rs +++ b/src/lib/git/nostr_url.rs | |||
| @@ -28,8 +28,8 @@ impl fmt::Display for ServerProtocol { | |||
| 28 | ServerProtocol::Git => write!(f, "git"), | 28 | ServerProtocol::Git => write!(f, "git"), |
| 29 | ServerProtocol::Filesystem => write!(f, "filesystem"), | 29 | ServerProtocol::Filesystem => write!(f, "filesystem"), |
| 30 | ServerProtocol::Unspecified => write!(f, "unsepcified"), | 30 | ServerProtocol::Unspecified => write!(f, "unsepcified"), |
| 31 | ServerProtocol::UnauthHttps => write!(f, "unauthenticated https"), | 31 | ServerProtocol::UnauthHttps => write!(f, "https (unauthenticated)"), |
| 32 | ServerProtocol::UnauthHttp => write!(f, "unauthenticated http"), | 32 | ServerProtocol::UnauthHttp => write!(f, "http (unauthenticated)"), |
| 33 | } | 33 | } |
| 34 | } | 34 | } |
| 35 | } | 35 | } |
| @@ -330,7 +330,7 @@ impl CloneUrl { | |||
| 330 | if domain.is_empty() { | 330 | if domain.is_empty() { |
| 331 | self.original_string.to_string() | 331 | self.original_string.to_string() |
| 332 | } else { | 332 | } else { |
| 333 | domain | 333 | format!("{domain}{}", self.path) |
| 334 | } | 334 | } |
| 335 | } | 335 | } |
| 336 | } | 336 | } |