router
router copied to clipboard
A router for Worker Runtimes such and Cloudflare Workers or Service Workers.
Currently it is not possible to reliably resolve full URL from a subrouter as subrouter `ctx.match` is matched from a partial path provided in `WorkerRouter.use`. The only way to resolve...
It'd be really helpful if the docs mentioned how to use env vars. I can confirm that without this library, `env.SOME_KEY` does logged, however, as soon as I `export router`...
It isn't `WorkersRouter()` it is `WorkerRouter()`. Great tool you've built by the way, thank you.
With Server-sent endpoints it is often the case that connection is closed before Deno flushes body stream. When that happens, following error is thrown: ``` Uncaught Http: connection closed before...