tests: avoid ERR_TOO_MANY_REDIRECTS on frontend tests under Windows

If Etherpad is hosted on Windows the frontend test URI needs to be
/tests/frontend/index.html (docs say .../frontend/), otherwise there is this
error: ERR_TOO_MANY_REDIRECTS.

Fixes #3804.
pull/3906/head
Gabriel Augusto Almeida 2020-04-06 14:15:59 -04:00 committed by muxator
parent 51e40ddbc9
commit da0ea3a29d
1 changed files with 1 additions and 1 deletions

View File

@ -58,7 +58,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
});
args.app.get('/tests/frontend', function (req, res) {
res.redirect('/tests/frontend/');
res.redirect('/tests/frontend/index.html');
});
}