Skip to content

Commit

Permalink
Changed cors settings to allow all. Setting version to v0.5.0-beta.1
Browse files Browse the repository at this point in the history
  • Loading branch information
brandonvfx committed Jul 12, 2017
1 parent 084769a commit bdfb68b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
6 changes: 1 addition & 5 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,11 +88,7 @@ func main() {
config := newClientConfig(Version, c.String("shotgun-host"))

r := router(config)
corsMiddleware := cors.New(cors.Options{
AllowedOrigins: []string{"*"},
AllowCredentials: true,
AllowedHeaders: []string{"Authorization"},
})
corsMiddleware := cors.AllowAll()

n := negroni.Classic()
n.Use(negronilogrus.NewMiddleware())
Expand Down
2 changes: 1 addition & 1 deletion version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
0.4.2-beta.1
0.5.0-beta.1

0 comments on commit bdfb68b

Please sign in to comment.