let api_url_match = req.url.match(/\/(\w+\.php)/);
let target = api_url_match
- ? 'http://nominatim.openstreetmap.org/' + api_url_match[1]
+ ? 'https://nominatim.openstreetmap.org'
: 'http://localhost:' + static_port;
// console.log(`http proxy ${req.url} => ${target + req.url}`)
defaultViewport: { width: 1024, height: 768 },
timeout: 10000,
// latency: 1000,
+ headless: 'new',
args: [
'--user-agent=Nominatim UI test suite Mozilla/5.0 Gecko/20100101 HeadlessChrome/90.0'
]