Skip to content
Snippets Groups Projects
Commit 6de66c28 authored by Johan de Klerk's avatar Johan de Klerk
Browse files

Added x-df to allowed headers

parent 21913598
No related branches found
No related tags found
No related merge requests found
......@@ -33,7 +33,7 @@ func CorsHeaders() map[string]string {
return map[string]string{
"Access-Control-Allow-Origin": "*",
// do not wildcard: https://stackoverflow.com/questions/13146892/cors-access-control-allow-headers-wildcard-being-ignored
"Access-Control-Allow-Headers": "authorization, content-type, referer, sec-ch-ua, sec-ch-ua-mobile, sec-ch-ua-platform, user-agent, x-amz-date, x-amz-security-token",
"Access-Control-Allow-Headers": "authorization, content-type, referer, sec-ch-ua, sec-ch-ua-mobile, sec-ch-ua-platform, user-agent, x-amz-date, x-amz-security-token, x-df",
"Access-Control-Allow-Methods": "OPTIONS,GET,PUT,POST,DELETE,PATCH,HEAD",
"Access-Control-Max-Age": "86400",
"Access-Control-Allow-Credentials": "true",
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment