Skip to content

Commit

Permalink
Change comparison with assignment in comment line
Browse files Browse the repository at this point in the history
  • Loading branch information
andregri authored Mar 22, 2022
1 parent 062ab01 commit 1d1f0af
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 @@ -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 1d1f0af

Please sign in to comment.