mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-03-06 14:01:00 +01:00
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:
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…
x
Reference in New Issue
Block a user