fix proxy default config

This commit is contained in:
A.Unger
2021-11-09 20:40:35 +01:00
parent 51bee0e531
commit b961817519

View File

@@ -32,7 +32,7 @@ func TestPrefixRouteMatcher(t *testing.T) {
}
func TestQueryRouteMatcher(t *testing.T) {
cfg := config.New()
cfg := config.DefaultConfig()
p := NewMultiHostReverseProxy(Config(cfg))
table := []matchertest{
@@ -59,7 +59,7 @@ func TestQueryRouteMatcher(t *testing.T) {
}
func TestRegexRouteMatcher(t *testing.T) {
cfg := config.New()
cfg := config.DefaultConfig()
p := NewMultiHostReverseProxy(Config(cfg))
table := []matchertest{