mirror of
https://github.com/prometheus/alertmanager
synced 2024-12-26 16:12:20 +00:00
Add DELETE to acceptable cors methods
This commit is contained in:
parent
c38bf35abb
commit
0ecc59076c
@ -57,7 +57,7 @@ func init() {
|
|||||||
|
|
||||||
var corsHeaders = map[string]string{
|
var corsHeaders = map[string]string{
|
||||||
"Access-Control-Allow-Headers": "Accept, Authorization, Content-Type, Origin",
|
"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-Allow-Origin": "*",
|
||||||
"Access-Control-Expose-Headers": "Date",
|
"Access-Control-Expose-Headers": "Date",
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user