Skip to content

Commit

Permalink
Merge pull request #88 from parsaakbari1209/patch-1
Browse files Browse the repository at this point in the history
chore: update the default methods comment
  • Loading branch information
thinkerou committed Apr 22, 2022
2 parents c1ca09f + 2d0be6a commit 2a40866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cors.go
Expand Up @@ -23,7 +23,7 @@ type Config struct {
AllowOriginFunc func(origin string) bool

// AllowMethods is a list of methods the client is allowed to use with
// cross-domain requests. Default value is simple methods (GET and POST)
// cross-domain requests. Default value is simple methods (GET, POST, PUT, PATCH, DELETE, HEAD, and OPTIONS)
AllowMethods []string

// AllowHeaders is list of non simple headers the client is allowed to use with
Expand Down

0 comments on commit 2a40866

Please sign in to comment.