HonoH
Hono12mo ago
jbergstroem

Loading routes from Cloudflare KV?

I need to store routes in a dynamic fashion (be it env or KV) since routes will controlled from a third party -- is there a way to load these without adding a "default" catchall route that then has access to env/kv context from where the routes can be loaded? Optimally I can avoid a route.all(...) that has the logic to fetch this and then add additional routes.
Was this page helpful?