1
0
mirror of https://github.com/bigchaindb/js-bigchaindb-driver.git synced 2024-11-25 20:00:19 +01:00

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

View File

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