mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Add last result of each task to index page
This commit is contained in:
@@ -5,7 +5,7 @@ module.exports = route;
|
||||
// Route definition
|
||||
function route (app) {
|
||||
app.express.get('/:id', function (req, res, next) {
|
||||
app.webservice.task(req.params.id).get(function (err, task) {
|
||||
app.webservice.task(req.params.id).get({}, function (err, task) {
|
||||
if (err) {
|
||||
return next();
|
||||
}
|
||||
|
Reference in New Issue
Block a user