The middleware that I submitted in #21 was overcomplicated. Koa server has a special ctx.respond = false mode which is intended for this very case (handle node request by an external connect-style middleware).
This PR simplifies things. I am using this code in production.
The middleware that I submitted in #21 was overcomplicated. Koa server has a special ctx.respond = false mode which is intended for this very case (handle node request by an external connect-style middleware).
This PR simplifies things. I am using this code in production.