...
 
Commits (2)
......@@ -224,7 +224,7 @@ function testsPage(tests) {
}
function serveLogs() {
var server = express();
const server = express();
server.use('/logs/', express.static(`${__dirname}/logs/`));
server.use('/logs/', serveIndex(`${__dirname}/logs/`));
server.get('/', (req, res) => res.send(testsPage(tests)));
......@@ -253,7 +253,7 @@ scheduleJob({hour: 0, minute: 0}, () => {
});
scheduleJob({hour: 22, minute: 0}, () => {
console.log('Running health check for 5.12');
healthCheck({ref: '5.12'});
healthCheck({rev: '5.12'});
});
scheduleJob({hour: 23, minute: 0, dayOfWeek: 6}, () => {
console.log('Running health check for 5.11');
......