cometkim
cometkim
HHono
Created by cometkim on 10/16/2024 in #help
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