mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-02-01 03:12:42 +01:00
tests: Use a relative redirect for /tests/frontend
This avoids problems if Etherpad is served under a path like `/etherpad`.
This commit is contained in:
parent
617267ce71
commit
dfd649dbe9
1 changed files with 1 additions and 1 deletions
|
@ -47,7 +47,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
||||||
});
|
});
|
||||||
|
|
||||||
args.app.get('/tests/frontend', (req, res) => {
|
args.app.get('/tests/frontend', (req, res) => {
|
||||||
res.redirect('/tests/frontend/index.html');
|
res.redirect('./frontend/index.html');
|
||||||
});
|
});
|
||||||
|
|
||||||
return cb();
|
return cb();
|
||||||
|
|
Loading…
Reference in a new issue