mirror of
https://github.com/umputun/reproxy.git
synced 2024-09-11 17:07:19 +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. |
||
---|---|---|
.. | ||
provider | ||
discovery_test.go | ||
discovery.go | ||
provider_mock.go |