mirror of
https://github.com/direct-img/direct-img.link.git
synced 2026-10-08 22:45:19 +00:00
Add _routes.json so /, /robots.txt and /assets/* skip the worker and don't count against the Functions request quota. rate-limit.js moves to assets/ so the homepage reads it client-side instead of via HTMLRewriter. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
6 lines
103 B
JSON
6 lines
103 B
JSON
{
|
|
"version": 1,
|
|
"include": ["/*"],
|
|
"exclude": ["/", "/index.html", "/robots.txt", "/assets/*"]
|
|
}
|