mirror of
https://github.com/bigchaindb/js-bigchaindb-driver.git
synced 2024-11-22 09:46:58 +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:
parent
2ad44e1744
commit
7c4d66bbb7
@ -3,7 +3,6 @@ import sanitize from './sanitize';
|
||||
|
||||
|
||||
const DEFAULT_REQUEST_CONFIG = {
|
||||
credentials: 'include',
|
||||
headers: {
|
||||
'Accept': 'application/json'
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user