From: marc tobias Date: Tue, 29 Aug 2023 21:34:33 +0000 (+0200) Subject: test suite: http-proxy target was not set correctly X-Git-Url: https://git.openstreetmap.org./nominatim-ui.git/commitdiff_plain/235fd934dad866eee7c6c1a2428360b6c8d94696 test suite: http-proxy target was not set correctly --- diff --git a/test/_bootstrap.js b/test/_bootstrap.js index f44e217..103784e 100644 --- a/test/_bootstrap.js +++ b/test/_bootstrap.js @@ -49,7 +49,7 @@ Nominatim_Config.Reverse_Only = ${reverse_only}; 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}`)