Feat: Include full URL in search notifications

This commit is contained in:
2026-02-14 09:19:34 -08:00
parent 17090b28f3
commit de6fec20ca

View File

@@ -59,7 +59,7 @@ export async function onRequest(context) {
// Notify of a new search (Cache Miss)
context.waitUntil(notify(env, {
title: "New Search",
message: `Query: ${query} (Search #${count + 1} for ${ip})`,
message: `Query: ${query} (Search #${count + 1} for ${ip})\n${url.origin}/${path}`,
tags: "mag",
priority: 3
}));