2 changed files with 5 additions and 1 deletions
@ -1,3 +1,6 @@ |
|||
onionoo = require('../lib/onionoo'); |
|||
|
|||
module.exports = (req, res) => { |
|||
res.render('listing.html'); |
|||
onionoo.summary({ limit: 5 }) |
|||
.then(data => res.render('listing.html', { onionoo: data })); |
|||
} |
|||
|
@ -1 +1,2 @@ |
|||
Hello World! |
|||
<pre>{{ onionoo }}</pre> |
|||
|
Loading…
Reference in new issue