Commit 4d5ee450adabea17498e73557b6fb5fd5a62d670

Authored by Adhidarma Hadiwinoto
1 parent fa618a173c
Exists in master

url pathname

Showing 1 changed file with 4 additions and 1 deletions Side-by-side Diff

... ... @@ -170,7 +170,10 @@ function topupRequest(task) {
170 170 function createHttpReportServer() {
171 171 var httpServer = http.createServer(function(request, response) {
172 172 var qs = url.parse(request.url, true).query;
173   - logger.info('Got reverse report from partner', {qs: qs});
  173 + var path = url.parse(request.url).pathname;
  174 +
  175 + logger.info('Got reverse report from partner', {path: path, qs: qs});
  176 + response.end('OK');
174 177 });
175 178  
176 179 httpServer.listen(config.h2h_out.listen_port, function() {