diff --git a/README.md b/README.md index 8c9eb4f..a9efed7 100644 --- a/README.md +++ b/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() }