Skip to content

Commit

Permalink
Merge pull request #85 from andregri/patch-1
Browse files Browse the repository at this point in the history
Change comparison with assignment in comment line
  • Loading branch information
thinkerou committed Mar 24, 2022
2 parents 062ab01 + 1d1f0af commit c1ca09f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Expand Up @@ -68,7 +68,7 @@ func main() {
// - Preflight requests cached for 12 hours
config := cors.DefaultConfig()
config.AllowOrigins = []string{"http://google.com"}
// config.AllowOrigins == []string{"http://google.com", "http://facebook.com"}
// config.AllowOrigins = []string{"http://google.com", "http://facebook.com"}
// config.AllowAllOrigins = true

router.Use(cors.New(config))
Expand Down

0 comments on commit c1ca09f

Please sign in to comment.