Commit 6cc82c27 authored by Johan Helsing's avatar Johan Helsing

Cleanup

parent e15265db
...@@ -224,7 +224,7 @@ function testsPage(tests) { ...@@ -224,7 +224,7 @@ function testsPage(tests) {
} }
function serveLogs() { function serveLogs() {
var server = express(); const server = express();
server.use('/logs/', express.static(`${__dirname}/logs/`)); server.use('/logs/', express.static(`${__dirname}/logs/`));
server.use('/logs/', serveIndex(`${__dirname}/logs/`)); server.use('/logs/', serveIndex(`${__dirname}/logs/`));
server.get('/', (req, res) => res.send(testsPage(tests))); server.get('/', (req, res) => res.send(testsPage(tests)));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment