Skip to content

Commit 0ecc590

Browse files
committed
Add DELETE to acceptable cors methods
1 parent c38bf35 commit 0ecc590

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

api/api.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ func init() {
5757

5858
var corsHeaders = map[string]string{
5959
"Access-Control-Allow-Headers": "Accept, Authorization, Content-Type, Origin",
60-
"Access-Control-Allow-Methods": "GET, OPTIONS",
60+
"Access-Control-Allow-Methods": "GET, DELETE, OPTIONS",
6161
"Access-Control-Allow-Origin": "*",
6262
"Access-Control-Expose-Headers": "Date",
6363
}

0 commit comments

Comments
 (0)