mirror of
https://github.com/kemko/reproxy.git
synced 2026-01-01 15:55:49 +03:00
Before this change redirects didn't work because method `Service.extendMapper` didn't copy the value of `URLMapper.RedirectType` to the extended result. To fix this we return the original `URLMapper` instead of creating a new one (it can also help to avoid similar bugs in the future). We can reuse `URLMapper` because it is passed by value.