chore: eventing + refactoring

This commit is contained in:
Cory Dransfeldt 2024-03-24 20:36:18 -07:00
parent ecbfdbde70
commit 13e7b489ef
No known key found for this signature in database
2 changed files with 3 additions and 3 deletions

View file

@ -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 })

View file

@ -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": {