Fixes README

This commit is contained in:
Manu Mtz.-Almeida 2015-11-12 15:22:02 +01:00
parent 43967fed89
commit 5e6551a50c

View File

@ -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()
}