Feat: Homepage reads daily limits from rate-limit.js

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-10-06 16:35:46 -07:00
co-authored by Claude Opus 5.5
parent 826e0cd2dd
commit c76b1ba5f7
3 changed files with 21 additions and 6 deletions
+1 -1
View File
@@ -1,5 +1,5 @@
// New searches (cache misses) allowed per IP per day, reset at 00:00 UTC. Cache hits never count.
// Safe to edit by hand; also update the numbers in README.md and index.html.
// Safe to edit by hand. The homepage reads these automatically; README.md needs a manual update.
// The burst limit (~10 req/10s) is a Cloudflare WAF rule, not set here.
export const DAILY_LIMIT = 35;
export const FREE_DAILY_LIMIT = 100;