Skip to content

Commit

Permalink
add to NewDefaultServerConfig
Browse files Browse the repository at this point in the history
  • Loading branch information
atoulme committed Jul 30, 2024
1 parent 224f8d2 commit 6014b63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion config/confighttp/confighttp.go
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@ func NewDefaultServerConfig() ServerConfig {
return ServerConfig{
ResponseHeaders: map[string]configopaque.String{},
TLSSetting: &tlsDefaultServerConfig,
CORS: &CORSConfig{},
CORS: NewDefaultCORSConfig(),
WriteTimeout: 30 * time.Second,
ReadHeaderTimeout: 1 * time.Minute,
IdleTimeout: 1 * time.Minute,
Expand Down

0 comments on commit 6014b63

Please sign in to comment.