|
@@ -7,9 +7,10 @@ console.log(window.location);
|
|
|
|
|
|
export const JSONAPI = axios.create({
|
|
|
baseURL: window.location.origin+`/jsonapi`,
|
|
|
+ withCredentials: true,
|
|
|
headers: {
|
|
|
Accept: 'application/vnd.api+json'
|
|
|
- // Authorization: 'Bearer {token}',
|
|
|
+ // Authorization: 'Basic {token}',
|
|
|
// "Content-Type": "application/json"
|
|
|
}
|
|
|
})
|