From 44ed25b6542e0ca422d3106c205cfacbf3a9036b Mon Sep 17 00:00:00 2001 From: multipleof4 Date: Wed, 15 Apr 2026 19:17:12 -0700 Subject: [PATCH] Fix: Change ntfy priority for new searches to 2 --- functions/[[path]].js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/functions/[[path]].js b/functions/[[path]].js index f100225..3add4d5 100644 --- a/functions/[[path]].js +++ b/functions/[[path]].js @@ -135,7 +135,7 @@ export async function onRequest(context) { return env.ASSETS.fetch(new Request(new URL("/limit.webp", url.origin))); } - context.waitUntil(notify(env, { title: "New Search", message: `Query: ${query} (Search #${count} for ${ip})\n${url.origin}/${path}`, tags: "mag", priority: 3 })); + context.waitUntil(notify(env, { title: "New Search", message: `Query: ${query} (Search #${count} for ${ip})\n${url.origin}/${path}`, tags: "mag", priority: 2 })); const fail = async (t, m, tag, p) => { context.waitUntil(notify(env, { title: t, message: m, tags: tag, priority: p }));