Skip to content

Commit

Permalink
Update Gorilla handlers and add CORS option
Browse files Browse the repository at this point in the history
  • Loading branch information
marcosnils committed Feb 19, 2018
1 parent 9b4a781 commit 54b961a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions Gopkg.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Gopkg.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@

[[constraint]]
name = "github.com/gorilla/handlers"
version = "1.2.1"
version = "1.3.0"

[[constraint]]
name = "github.com/gorilla/mux"
Expand Down
2 changes: 1 addition & 1 deletion handlers/bootstrap.go
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@ func Register(extend HandlerExtender) {
return true
}
return false
}))
}), gh.AllowedHeaders([]string{}))

// Specific routes
r.HandleFunc("/ping", Ping).Methods("GET")
Expand Down

0 comments on commit 54b961a

Please sign in to comment.