Files
backstage/plugins/proxy-backend/src
Brian Fox cdb3426e56 fix(proxy-backend): prefix routes with / if not present in config
This commit ensures that the default `pathRewrite` configuration for a proxy element is more resilient to the combination of whether:
- `route` is prefixed with `/`
- `pathPrefix` on the plugin is suffixed with `/` (which at present it will never be - see comments).

Signed-off-by: Brian Fox <brianhfox@gmail.com>
2021-04-27 12:40:15 +02:00
..