mirror of
https://github.com/opencloud-eu/opencloud.git
synced 2026-01-04 03:09:33 -06:00
fix proxy default config
This commit is contained in:
@@ -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{
|
||||
|
||||
Reference in New Issue
Block a user