mirror of
https://github.com/ether/etherpad-lite.git
synced 2026-05-13 00:06:16 +02:00
tests: Preserve query string when redirecting
This commit is contained in:
parent
9cba96e5e9
commit
573da027e5
@ -47,7 +47,7 @@ exports.expressCreateServer = (hookName, args, cb) => {
|
||||
});
|
||||
|
||||
args.app.get('/tests/frontend', (req, res) => {
|
||||
res.redirect('./frontend/index.html');
|
||||
res.redirect(['./frontend/index.html', ...req.url.split('?').slice(1)].join('?'));
|
||||
});
|
||||
|
||||
return cb();
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user