Fixes README
This commit is contained in:
parent
43967fed89
commit
5e6551a50c
1 changed files with 1 additions and 1 deletions
|
|
@ -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()
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue