Skip to content

Commit

Permalink
fix: proper crates.io link
Browse files Browse the repository at this point in the history
  • Loading branch information
sznowicki committed Jun 9, 2024
1 parent a1c8f73 commit e62908e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion server/lib/searchCrates.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ const crateToSearchItem = (curr) => ({
excerpt: curr.description.length > 122 ? curr.description.slice(0, 122) + '...' : curr.description,
lang: 'en',
hostname: 'crates.io',
url: curr.documentation || curr.repository,
url: `https://crates.io/crates/${curr.id}`,
});

/**
Expand Down

0 comments on commit e62908e

Please sign in to comment.