mirror of
https://github.com/pa11y/pa11y-dashboard.git
synced 2025-09-24 22:31:15 +00:00
Add results to the task page
This commit is contained in:
@@ -9,8 +9,14 @@ function route (app) {
|
||||
if (err) {
|
||||
return next();
|
||||
}
|
||||
res.render('task', {
|
||||
task: task
|
||||
app.webservice.task(req.params.id).results({full: true}, function (err, results) {
|
||||
if (err) {
|
||||
return next(err);
|
||||
}
|
||||
res.render('task', {
|
||||
task: task,
|
||||
results: results
|
||||
});
|
||||
});
|
||||
});
|
||||
});
|
||||
|
Reference in New Issue
Block a user