Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[fix] In routing proxy, match line beginning
Previous approach failed in case of routing table like: { 'domain.com': 'localhost:9000', 'a.domain.com': 'localhost:9001' } without `hostnameOnly`. When routing request to `a.domain.com`, `RegExp` matched first entry (`domain.com`) and returned it.
- Loading branch information