mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-10-14 16:57:53 +00:00
7 lines
385 B
JavaScript
7 lines
385 B
JavaScript
// New searches (cache misses) allowed per IP per day, reset at 00:00 UTC. Cache hits never count.
|
|
// Safe to edit by hand. Imported by the worker and by the homepage (as a static file, so no Functions quota).
|
|
// The burst limit (~10 req/10s) is a Cloudflare WAF rule, not set here.
|
|
export const DAILY_LIMIT = 5;
|
|
export const FREE_DAILY_LIMIT = 100;
|
|
export const AI_DAILY_LIMIT = 100;
|