From 0893e72ea590e6cfc37bb5360f7a97f31ae18eb8 Mon Sep 17 00:00:00 2001 From: tree Date: Mon, 12 Feb 2024 14:53:36 +0100 Subject: [PATCH] update --- utils/build.js | 2 +- web/src/pages/image/[week].astro | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) 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")}
-
+