I just installed koa-prerender and made an easy configuration
var prerender = require(\'koa-prerender\'); const SITE_URL = nconf.get(\'services:site\') // Options