Skip to content
This repository has been archived by the owner on Mar 15, 2023. It is now read-only.

Commit

Permalink
use http.MethodGet instead of goacors.GET
Browse files Browse the repository at this point in the history
  • Loading branch information
shogo82148 committed Nov 26, 2019
1 parent 4c7e464 commit ae560c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,6 @@ or
```go
service.Use(goacors.WithConfig(service, &goacors.GoaCORSConfig{
AllowOrigins: []string{"http://example.com"},
AllowMethods: []string{goacors.GET},
AllowMethods: []string{http.MethodGet},
}))
```

0 comments on commit ae560c2

Please sign in to comment.