mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-04-27 18:22:14 +00:00
Fix: Change ntfy priority for new searches to 2
This commit is contained in:
@@ -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 }));
|
||||
|
||||
Reference in New Issue
Block a user