tests: Redirect /tests/frontend to /tests/frontend/

This commit is contained in:
Richard Hansen 2021-05-09 17:47:08 -04:00
parent 573da027e5
commit 712b8c5769

View file

@ -47,7 +47,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
});
args.app.get('/tests/frontend', (req, res) => {
res.redirect(['./frontend/index.html', ...req.url.split('?').slice(1)].join('?'));
res.redirect(['./frontend/', ...req.url.split('?').slice(1)].join('?'));
});
return cb();