koa version of express serve index middleware