edit/wrangler.toml
rhld16 4d4311d312
Some checks failed
Deploy to GitHub Pages / build (push) Waiting to run
Deploy to GitHub Pages / Deploy (push) Blocked by required conditions
Deploy API / Build and Deploy (push) Has been cancelled
feat(api): utilise more caching for single-page route
2024-12-30 18:50:55 -08:00

20 lines
507 B
TOML

name = "api"
main = ".output/server/index.mjs"
workers_dev = false
account_id = "02f3b11d8d1017a20f95de4ba88fb5d6"
compatibility_flags = [ "nodejs_compat" ]
compatibility_date = "2024-11-01"
routes = [
{ pattern = "api.fmhy.net", custom_domain = true, zone_id = "b4212298934f7c1998b4d15f6d261715" },
]
[[kv_namespaces]]
binding = "STORAGE"
id = "6f18adea26a64d6b8858ffbdfd3f4cf2"
[[unsafe.bindings]]
name = "RATE_LIMITER"
type = "ratelimit"
namespace_id = "69420"
simple = { limit = 100, period = 60 }