From 1d1f0afb27ec2bb79a0a265322a03d544ad56cba Mon Sep 17 00:00:00 2001 From: andregri Date: Tue, 22 Mar 2022 22:58:15 +0100 Subject: [PATCH] Change comparison with assignment in comment line --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 82f53ac..6289994 100644 --- a/README.md +++ b/README.md @@ -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))