I\'m new to koa.js library and I need some help. I\'m trying to make simple REST application using koa. I have a static html and javascript files I want to serve on route
const root = require('path').join(__dirname, 'client', 'build'); app.use(serve(root)); app.use(async ctx => { await send(ctx, `/index.html`, { root }); });