diff --git a/src/constants/constants.ts b/src/constants/constants.ts index e0cc6d1d..d7d2127a 100644 --- a/src/constants/constants.ts +++ b/src/constants/constants.ts @@ -57,7 +57,10 @@ export const LOCATION_OPTIONS: Readonly = { */ export const RESPONSE_HEADERS: Readonly = { 'Access-Control-Allow-Origin': '*', - 'Access-Control-Allow-Headers': 'Origin, X-Requested-With, Content-Type, Accept', + 'Access-Control-Allow-Credentials': 'true', + 'Access-Control-Allow-Methods': 'GET,OPTIONS,PATCH,DELETE,POST,PUT', + 'Access-Control-Allow-Headers': + 'Origin, X-CSRF-Token, X-Requested-With, Accept, Accept-Version, Content-Length, Content-MD5, Content-Type, Date, X-Api-Version', 'Cache-Control': 'no-cache,max-age=0,no-store,s-maxage=0,proxy-revalidate', 'Content-Type': 'application/json', 'Pragma': 'no-cache',