diff --git a/api.go b/api.go index 9544f8cc..d81fae0d 100644 --- a/api.go +++ b/api.go @@ -54,7 +54,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", }