Browse Source

Fixes README

Manu Mtz.-Almeida 10 years ago
parent
commit
5e6551a50c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      README.md

+ 1 - 1
README.md

@@ -64,7 +64,7 @@ func main() {
     // same as
     // same as
     // config := cors.DefaultConfig()
     // config := cors.DefaultConfig()
     // config.AllowAllOrigins = true
     // config.AllowAllOrigins = true
-    // router.Use(cors.Default())
+    // router.Use(cors.New(config))
     router.Use(cors.Default())
     router.Use(cors.Default())
     router.Run()
     router.Run()
 }
 }