Add X-Admin and basic auth header to CORS allowed headers in http_api

This commit is contained in:
Paweł Chmielowski 2016-09-12 15:39:00 +02:00
parent 96d05dad8f
commit 054382f074
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@
-define(AC_ALLOW_HEADERS,
{<<"Access-Control-Allow-Headers">>,
<<"Content-Type">>}).
<<"Content-Type, Authorization, X-Admin">>}).
-define(AC_MAX_AGE,
{<<"Access-Control-Max-Age">>, <<"86400">>}).