From 235fd934dad866eee7c6c1a2428360b6c8d94696 Mon Sep 17 00:00:00 2001 From: marc tobias Date: Tue, 29 Aug 2023 23:34:33 +0200 Subject: [PATCH] test suite: http-proxy target was not set correctly --- test/_bootstrap.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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}`) -- 2.39.5