Skip to content

Commit

Permalink
fix: fixed svg generator font name
Browse files Browse the repository at this point in the history
  • Loading branch information
titanism committed Nov 7, 2023
1 parent 2b82f4d commit 973b266
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/controllers/web/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -235,9 +235,9 @@ async function generateOpenGraphImage(ctx) {
const svgReplaced = SVG_STR.replace('NO_CREDIT_CARD', noCreditCard)
.replaceAll(
'MONOSPACE_NAME',
'Inconsolata-dz, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace'
'Inconsolata-dz, Menlo, Monaco, Consolas, monospace'
)
.replaceAll('FONT_NAME', '"Helvetica Neue", Arial')
.replaceAll('FONT_NAME', 'Arial')
.replace('PRIVATE_BUSINESS', str.trim())
.replace('FREE_EMAIL', freeEmail)
.replace(
Expand Down

0 comments on commit 973b266

Please sign in to comment.