The easiest way to do that is to pass a callback to res.render , in your example: res.render('list.ejs', {posts: posts}, function(err, ...
確定! 回上一頁