From 5e6551a50c9bcf6c3dff3e85089519312c4bb345 Mon Sep 17 00:00:00 2001 From: "Manu Mtz.-Almeida" Date: Thu, 12 Nov 2015 15:22:02 +0100 Subject: [PATCH] Fixes README --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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() }