mirror of
https://github.com/ether/etherpad-lite.git
synced 2025-04-21 07:56:16 -04:00
tests: Redirect /tests/frontend
to /tests/frontend/
This commit is contained in:
parent
573da027e5
commit
712b8c5769
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(['./frontend/index.html', ...req.url.split('?').slice(1)].join('?'));
|
res.redirect(['./frontend/', ...req.url.split('?').slice(1)].join('?'));
|
||||||
});
|
});
|
||||||
|
|
||||||
return cb();
|
return cb();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue