Closed
Description
Bug description
Basepath not retained in proxied requests when using route created in CHP

How to reproduce
- Run a simple React app locally
- Run CHP locally using
configurable-http-proxy --port 8500 --log-level debug
- Create a route for the React app
- Try to access the React app through the proxy
Expected behaviour
Static files cannot be loaded and return 404s. Trying to load it using: http://localhost:8500/static/js/bundle.js

Actual behaviour
The basepath /react
of the route is not maintained.
Static file should be loaded by: http://localhost:8500/react/static/js/bundle.js
Notes:
- When we add the --no-include-prefix the file is indeed available in route http://localhost:8500/react/static/js/bundle.js (we would expect the opposite), but the basepath is still not maintained.
- Absolute paths are used for the static files (this is not something we have control over in our case)

Your personal set up
This has been reproduced in Windows 11, Mac, and also in an Azure Kubernetes cluster.