diff --git a/utils/build.js b/utils/build.js index b1a73fd..8725e15 100644 --- a/utils/build.js +++ b/utils/build.js @@ -46,7 +46,7 @@ async function build() { const imgResp = await fetch("https://html2svg.gwei.cz", { method: 'POST', body: JSON.stringify({ - url: `https://news.web3privacy.info/image/${issue.week}`, + url: `https://news.web3privacy.info/image/${issue.week}?${new Date().valueOf()}`, format: "png", width: 1920, height: 960, diff --git a/web/src/pages/image/[week].astro b/web/src/pages/image/[week].astro index 78ba834..c84a779 100644 --- a/web/src/pages/image/[week].astro +++ b/web/src/pages/image/[week].astro @@ -22,12 +22,12 @@ const issue = issues.find(i => i.week === week)
-
+
{config.name}
{format(issue.period[0], "MMM d")} - {format(issue.period[1], "MMM d, yyyy")}
-
+