mirror of
https://github.com/umputun/reproxy.git
synced 2024-08-16 12:10:31 +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. |
||
---|---|---|
.. | ||
discovery | ||
mgmt | ||
plugin | ||
proxy | ||
main_test.go | ||
main.go |