diff options
Diffstat (limited to 'src/bin/git_remote_nostr/utils.rs')
| -rw-r--r-- | src/bin/git_remote_nostr/utils.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/git_remote_nostr/utils.rs b/src/bin/git_remote_nostr/utils.rs index ec6412b..f7e688e 100644 --- a/src/bin/git_remote_nostr/utils.rs +++ b/src/bin/git_remote_nostr/utils.rs | |||
| @@ -216,9 +216,9 @@ pub fn get_read_protocols_to_try( | |||
| 216 | git_repo: &Repo, | 216 | git_repo: &Repo, |
| 217 | server_url: &CloneUrl, | 217 | server_url: &CloneUrl, |
| 218 | decoded_nostr_url: &NostrUrlDecoded, | 218 | decoded_nostr_url: &NostrUrlDecoded, |
| 219 | is_ngit_relay: bool, | 219 | is_grasp_server: bool, |
| 220 | ) -> Vec<ServerProtocol> { | 220 | ) -> Vec<ServerProtocol> { |
| 221 | if is_ngit_relay { | 221 | if is_grasp_server { |
| 222 | if server_url.protocol() == ServerProtocol::Http { | 222 | if server_url.protocol() == ServerProtocol::Http { |
| 223 | vec![(ServerProtocol::UnauthHttp)] | 223 | vec![(ServerProtocol::UnauthHttp)] |
| 224 | } else { | 224 | } else { |
| @@ -269,9 +269,9 @@ pub fn get_write_protocols_to_try( | |||
| 269 | git_repo: &Repo, | 269 | git_repo: &Repo, |
| 270 | server_url: &CloneUrl, | 270 | server_url: &CloneUrl, |
| 271 | decoded_nostr_url: &NostrUrlDecoded, | 271 | decoded_nostr_url: &NostrUrlDecoded, |
| 272 | is_ngit_relay: bool, | 272 | is_grasp_server: bool, |
| 273 | ) -> Vec<ServerProtocol> { | 273 | ) -> Vec<ServerProtocol> { |
| 274 | if is_ngit_relay { | 274 | if is_grasp_server { |
| 275 | if server_url.protocol() == ServerProtocol::Http { | 275 | if server_url.protocol() == ServerProtocol::Http { |
| 276 | vec![(ServerProtocol::UnauthHttp)] | 276 | vec![(ServerProtocol::UnauthHttp)] |
| 277 | } else { | 277 | } else { |