diff --git a/app.js b/app.js index eefc5b7..d2d3b70 100644 --- a/app.js +++ b/app.js @@ -93,7 +93,6 @@ function initApp(config, callback) { // Load routes require('./route/index')(app); require('./route/task/index')(app); - require('./route/result/index')(app); require('./route/result/download')(app); if (!config.readonly) { require('./route/new')(app); @@ -103,6 +102,8 @@ function initApp(config, callback) { require('./route/task/ignore')(app); require('./route/task/unignore')(app); } + // Needs to be loaded after `/route/task/edit` + require('./route/result/index')(app); // Error handling app.express.get('*', (request, response) => { diff --git a/view/layout/default.html b/view/layout/default.html index 491b233..a153343 100644 --- a/view/layout/default.html +++ b/view/layout/default.html @@ -27,7 +27,7 @@ along with Pa11y Dashboard. If not, see . {{#if noindex}}{{/if}} - +