fixed all eslint errors and warning, compiled as PROD
This commit is contained in:
@@ -2,8 +2,8 @@ import axios from 'axios'
|
||||
|
||||
// https://github.com/alvar0hurtad0/drupal-vuejs-todo/blob/master/frontend/src/api/axiosInterceptor.js
|
||||
|
||||
// console.log('drupalSettings', drupalSettings);
|
||||
console.log(window.location);
|
||||
// console.log('drupalSettings', drupalSettings)
|
||||
console.log(window.location)
|
||||
|
||||
export const JSONAPI = axios.create({
|
||||
baseURL: window.location.origin+`/jsonapi`,
|
||||
@@ -11,6 +11,6 @@ export const JSONAPI = axios.create({
|
||||
headers: {
|
||||
Accept: 'application/vnd.api+json'
|
||||
// Authorization: 'Basic {token}',
|
||||
// "Content-Type": "application/json"
|
||||
// 'Content-Type': 'application/json'
|
||||
}
|
||||
})
|
||||
|
Reference in New Issue
Block a user