Skip to content

Commit

Permalink
Add DELETE to acceptable cors methods
Browse files Browse the repository at this point in the history
  • Loading branch information
stuartnelson3 committed Feb 22, 2017
1 parent c38bf35 commit 0ecc590
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ func init() {

var corsHeaders = map[string]string{
"Access-Control-Allow-Headers": "Accept, Authorization, Content-Type, Origin",
"Access-Control-Allow-Methods": "GET, OPTIONS",
"Access-Control-Allow-Methods": "GET, DELETE, OPTIONS",
"Access-Control-Allow-Origin": "*",
"Access-Control-Expose-Headers": "Date",
}
Expand Down

0 comments on commit 0ecc590

Please sign in to comment.