mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-10-17 10:17:53 +00:00
Feat: Raise daily search limit to 35
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -131,7 +131,7 @@ export async function onRequest(context) {
|
||||
}));
|
||||
}
|
||||
|
||||
if (count > 20) {
|
||||
if (count > 35) {
|
||||
context.waitUntil(notify(env, { title: "Rate Limit Hit", message: `IP ${ip} hit limit for: ${query}`, tags: "warning,no_entry", priority: 2 }));
|
||||
return asset("limit.webp");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user