feat: add collaborative Cloudflare cache and debug mode

This commit is contained in:
Darío Sevilla committed 2026-10-15 07:59:10 +00:00
1 parent 7e88fee0c2
commit 067cbfd24c
20 files changed
+695 -31

No files matched your search

+15
View File
@@ -0,0 +1,15 @@
name = "x-geoblock-cache"
main = "src/index.js"
compatibility_date = "2026-10-01"
[[d1_databases]]
binding = "DB"
database_name = "x-geoblock-cache"
database_id = "replace-with-your-d1-database-id"
migrations_dir = "migrations"
[vars]
CONFIRMATION_THRESHOLD = "3"
CONFIRMED_TTL_DAYS = "30"
OBSERVATION_RETENTION_DAYS = "90"
PENDING_RETENTION_DAYS = "7"