mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-03-16 18:51:01 +00:00
Feat: Include full URL in search notifications
This commit is contained in:
@@ -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
|
||||
}));
|
||||
|
||||
Reference in New Issue
Block a user