chore: adjust default theme
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
use nostr::prelude::*;
|
||||
|
||||
/// Compare git URLs ignoring scheme, trailing `.git` and path slashes, so a
|
||||
/// grasp announce URL matches its https origin. Unparseable values compare literally.
|
||||
/// Compare git URLs ignoring scheme, trailing `.git` and path slashes,
|
||||
/// so a grasp announce URL matches its https origin.
|
||||
pub fn same_repo_url(a: &str, b: &str) -> bool {
|
||||
match (url_identity(a), url_identity(b)) {
|
||||
(Some(a), Some(b)) => a == b,
|
||||
|
||||
Reference in New Issue
Block a user