Skip to content

Commit

Permalink
🔧 fix twemoji url AGAIN!
Browse files Browse the repository at this point in the history
  • Loading branch information
smashah committed Apr 12, 2024
1 parent 66d1ecd commit 9486c4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion release-image.js
Original file line number Diff line number Diff line change
Expand Up @@ -115,7 +115,7 @@ exports.run = async () => {
const browser = await puppeteer.launch({ headless: "new", timeout:0 });
const page = await browser.newPage();
await page.addScriptTag({
url: "https://unpkg.com/twemoji@latest/dist/twemoji.min.js"
url: "https://cdn.jsdelivr.net/npm/@twemoji/api@latest/dist/twemoji.min.js"
});
await page.setViewport({ width: 800, height: 800, deviceScaleFactor: 2 });
await page.setContent(html(marked.parse(release.body),packageName,release));
Expand Down

0 comments on commit 9486c4f

Please sign in to comment.