Skip to content

Commit

Permalink
fix: fixed word wrap in og
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Sep 3, 2024
1 parent b5d782f commit 04fcd58
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/controllers/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -352,7 +352,7 @@ async function generateOpenGraphImage(ctx, next) {

// LINE1, LINE2, LINE3
const [line1, line2, line3] = splitLines(
wrap(data.description.trim(), { width: 60 })
wrap(data.description.trim(), { width: 55 })
);

const svgReplaced = SVG_STR.replace('TITLE', title.trim())
Expand Down

0 comments on commit 04fcd58

Please sign in to comment.