Skip to content

Commit

Permalink
Document update (#79)
Browse files Browse the repository at this point in the history
Clarify doc for MaxAge in config
  • Loading branch information
0xc0d committed Aug 11, 2021
1 parent 56e21d0 commit 9b78b37
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors.go
Expand Up @@ -38,7 +38,7 @@ type Config struct {
// API specification
ExposeHeaders []string

// MaxAge indicates how long (in seconds) the results of a preflight request
// MaxAge indicates how long (with second-precision) the results of a preflight request
// can be cached
MaxAge time.Duration

Expand Down

0 comments on commit 9b78b37

Please sign in to comment.