summaryrefslogtreecommitdiffstats
path: root/front_end/src/urler.rs
diff options
context:
space:
mode:
Diffstat (limited to 'front_end/src/urler.rs')
-rw-r--r--front_end/src/urler.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/front_end/src/urler.rs b/front_end/src/urler.rs
index 0e85680..f2cb682 100644
--- a/front_end/src/urler.rs
+++ b/front_end/src/urler.rs
@@ -142,7 +142,7 @@ impl Urler {
if let Some(ref gh) = author.github {
Some(match (gh.user_type, author.owner) {
(UserType::User, true) => self.crates_io_user_by_github_login(&gh.login),
- (UserType::User, _) => format!("https://crates.io/users/{}", encode(&gh.login)),
+ (UserType::User, _) |
(UserType::Org, _) | (UserType::Bot, _) => format!("https://github.com/{}", encode(&gh.login)),
})
} else if let Some(ref info) = author.info {