diff --git a/release-image.js b/release-image.js index ea33b38dae..82bf78c909 100644 --- a/release-image.js +++ b/release-image.js @@ -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));