good changes

This commit is contained in:
Andras Schmelczer 2026-03-25 08:04:48 +00:00
parent 160283f1a1
commit c997ea46a5
26 changed files with 991 additions and 288 deletions

View file

@ -41,8 +41,8 @@ app.get('/screenshot', async (req, res) => {
qs.set(key, val);
}
}
// Repeated params: filter, poi
for (const key of ['filter', 'poi']) {
// Repeated params: filter, poi, tt (travel time)
for (const key of ['filter', 'poi', 'tt']) {
const val = req.query[key];
if (typeof val === 'string' && val) {
qs.append(key, val);