Skip to content

Commit

Permalink
Update width of release badge
Browse files Browse the repository at this point in the history
  • Loading branch information
blenderskool committed Apr 29, 2021
1 parent 3648dfd commit fcb6ce7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/badges/release.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default async (req, res) => {

try {
const { tag_name } = await (await fetch('https://api.github.com/repos/blenderskool/blaze/releases/latest')).json();
res.send(render(<Badge type="success" width={130} height={24} title="release" value={tag_name} />));
res.send(render(<Badge type="success" width={140} height={24} title="release" value={tag_name} />));
} catch(err) {
res.send(render(<Badge type="error" width={120} height={24} title="release" value="error" />));
}
Expand Down

0 comments on commit fcb6ce7

Please sign in to comment.