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
parent
51e40ddbc9
commit
da0ea3a29d
|
@ -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');
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue