hoangvvo/next-connect

expressWrapper is not full-supported

yunsii opened this issue ยท 3 comments

For example, I use express-basic-auth with config { challenge: true }, it will call res.set(), but res.setHeader() instead in Next.js.

You're right. I will add these express function in the wrapper

req.is(type) is not supported. It'd be great to add it as well. https://expressjs.com/en/api.html#req.is

req.is(type) is not supported. It'd be great to add it as well. https://expressjs.com/en/api.html#req.is

This still is an issue today.