cometkim
Multipath route parameters in Hono
How can I express a "multipath segments" in Hono? I'm trying to use Hono for the Cloudflare Pages Functions -> Workers transition and I have a route like this:
functions/[[app]]/[hash].zip.ts
// e.g. /my-app/nested/path/12345.zip
// -> app: ["my-app", "nested", "path"]
// -> hash: "12345"
3 replies