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.
This commit is contained in:
Gabriel Augusto Almeida 2020-04-06 14:15:59 -04:00 committed by muxator
parent 51e40ddbc9
commit da0ea3a29d

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');
});
}