-
Notifications
You must be signed in to change notification settings - Fork 876
Closed
Labels
Description
Current debug logging doesn't take into account the http-proxy options:
prependPath(default:true)ignorePath(default:false)
Example:
The following setup will prepend the target's path to the proxy path, when target is configured with a path; i.e. "http://localhost:8080**/api**". Since prependPath defaults to true
proxy('/api', {target: 'http://localhost:8080/api', logLevel: 'debug'});
// Current
// [HPM] Proxy created: /api -> http://localhost:8080/api
// [HPM] GET /api/users/123 -> http://localhost:8080/api
// Expected
// [HPM] Proxy created: /api -> http://localhost:8080/api/api
// [HPM] GET /api/users/123 -> http://localhost:8080/api/api/users/123kdekooter, SidneyNemzer, mouafa, ashleahhill, ShyamRaj and 3 more