Skip to content

Commit

Permalink
adding genconfig tests (#1411)
Browse files Browse the repository at this point in the history
* feat: adding tests to genconfig and removing support to cloudfront provider

* feat: replacing cloudfront default provider by akamai

* fix: typo

* fix: return cloudfront as defaultProviderID for masqueradesets

* Revert "feat: replacing cloudfront default provider by akamai"

This reverts commit 64ffecb.

* fix: wrong default variable replaced

* fix: adding genconfig verifyHostname field

* fix: adding ommitempty tag to verifyHostname

* feat: bulding genconfig
  • Loading branch information
WendelHime authored Aug 29, 2024
1 parent 4730ee6 commit 8cdcec1
Show file tree
Hide file tree
Showing 7 changed files with 709 additions and 98 deletions.
2 changes: 1 addition & 1 deletion config/client_config.go
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ type ProviderConfig struct {
Validator *ValidatorConfig
PassthroughPatterns []string
FrontingSNIs map[string]*fronted.SNIConfig
VerifyHostname *string
VerifyHostname *string `yaml:"verifyHostname,omitempty"`
}

// returns a fronted.ResponseValidator specified by the
Expand Down
4 changes: 2 additions & 2 deletions genconfig/genconfig
Git LFS file not shown
Loading

0 comments on commit 8cdcec1

Please sign in to comment.