Ver Fonte

Fixes README

Manu Mtz.-Almeida há 10 anos atrás
pai
commit
5e6551a50c
1 ficheiros alterados com 1 adições e 1 exclusões
  1. 1 1
      README.md

+ 1 - 1
README.md

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