mirrorer

:)
git clone https://git.sr.ht/~ashymad/mirrorer
Log | Files | Refs | LICENSE

commit 035db10eb1882102fe20036c8f4ae951ea86dcff
parent 55f20fb769c8cff460e5960a1180f85107de11a1
Author: Szymon Mikulicz <szymon.mikulicz@posteo.net>
Date:   Sat, 13 Jun 2026 23:37:02 +0200

json instead of text

Diffstat:
Mworker/src/index.ts | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/worker/src/index.ts b/worker/src/index.ts @@ -32,8 +32,8 @@ export default { }) }); - resp.text().then(function (text) { - console.log(`Response at ${event.cron}: ${text}`); + resp.json().then(function (obj) { + console.log(`Response at ${event.cron}: ${JSON.stringify(obj, null, 2)}`); }); },