Skip to content

Commit

Permalink
test suite: http-proxy target was not set correctly
Browse files Browse the repository at this point in the history
  • Loading branch information
mtmail committed Aug 29, 2023
1 parent 3e213d2 commit 235fd93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/_bootstrap.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}`)
Expand Down

0 comments on commit 235fd93

Please sign in to comment.