fix proxy default config

This commit is contained in:
A.Unger committed 2021-11-09 20:40:35 +01:00
1 parent 51bee0e531
commit b961817519
1 file changed
+2 -2
+2 -2
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{