diff --git a/src/http-proxy-middleware.ts b/src/http-proxy-middleware.ts index 6fe301c0..e95aa302 100644 --- a/src/http-proxy-middleware.ts +++ b/src/http-proxy-middleware.ts @@ -178,7 +178,7 @@ export class HttpProxyMiddleware { const path = await pathRewriter(req.url, req); if (typeof path === 'string') { - debug('pathRewrite new path: %s', req.url); + debug('pathRewrite new path: %s', path); req.url = path; } else { debug('pathRewrite: no rewritten path found: %s', req.url);