moleculerjs / moleculer-web

:earth_africa: Official API Gateway service for Moleculer framework
http://moleculer.services/docs/moleculer-web.html
MIT License
292 stars 120 forks source link

fix: request url not logged correctly #341

Closed emiljanitzek closed 10 months ago

emiljanitzek commented 11 months ago

We have problem with our request logs. Wasn't able to reproduce it in a test but for some reason the request log gets cropped (we don't get the full url). The response log is always correct and I noticed that the req.originalUrl is used for the response. Using the same url in both response and request seemed reasonable.