Recently while traversing through the next.js docs, specifically middleware for api routes, it states the following:
You can also use Connect compatible