Skip to content

Commit

Permalink
increased png offset slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
craigphares committed Nov 20, 2020
1 parent 473df48 commit 1201737
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion routes/initials.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ router.get('/:name.png', async (req, res) => {
const { name } = req.params
const { bg, fg } = req.query
const size = req.query.s || req.query.size || DEFAULT_SIZE
const svg = generateSvg(name, COLORS, bg, fg, 0.3)
const svg = generateSvg(name, COLORS, bg, fg, 0.35)
const png = await generatePng(svg, size)
res.status(200)
res.setHeader('Content-Type', 'image/png')
Expand Down

0 comments on commit 1201737

Please sign in to comment.