In Koa.js framework, you can make redirect using the .redirect() method of context object: