Do not include credentials in XHR

BigchainDB API doesn't use cookies, we can remove credentials from the
headers. It also create problems for CORS, since the server must
implement this.
This commit is contained in:
vrde 2017-05-18 11:43:53 +02:00 committed by Matthias Kretschmann
parent 2ad44e1744
commit 7c4d66bbb7
Signed by: m
GPG Key ID: 606EEEF3C479A91F
1 changed files with 0 additions and 1 deletions

View File

@ -3,7 +3,6 @@ import sanitize from './sanitize';
const DEFAULT_REQUEST_CONFIG = {
credentials: 'include',
headers: {
'Accept': 'application/json'
}