From 13e7b489ef7a36ecd3b1e8a286cd7538d45940f6 Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Sun, 24 Mar 2024 20:36:18 -0700 Subject: [PATCH] chore: eventing + refactoring --- api/event.js | 4 ++-- package.json | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/api/event.js b/api/event.js index 4e2c63c5..3a8ef9f2 100644 --- a/api/event.js +++ b/api/event.js @@ -27,9 +27,9 @@ export default async (request, context) => { const userId = await ids.get(id) if (!userId) await ids.set(id, id) const idVal = await ids.get(id) - url = setUrl(idVal, `[noscript visit] ID: ${idVal}`) + url = setUrl(idVal, 'noscript visit') } else { - url = setUrl(num, `[Blocked visit] ID: ${num}`) + url = setUrl(num, 'Blocked visit') } fetch(url, { headers }) diff --git a/package.json b/package.json index dbbe8ef2..36929345 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "coryd.dev", - "version": "8.7.3", + "version": "8.7.4", "description": "The source for my personal site. Built using 11ty.", "type": "module", "scripts": {