mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-01-19 22:23:33 +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
1 changed files with 1 additions and 1 deletions
|
@ -58,7 +58,7 @@ exports.expressCreateServer = function (hook_name, args, cb) {
|
||||||
});
|
});
|
||||||
|
|
||||||
args.app.get('/tests/frontend', function (req, res) {
|
args.app.get('/tests/frontend', function (req, res) {
|
||||||
res.redirect('/tests/frontend/');
|
res.redirect('/tests/frontend/index.html');
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue