11 lines
206 B
JavaScript
11 lines
206 B
JavaScript
|
import axios from 'axios'
|
||
|
|
||
|
// console.log('drupalSettings', drupalSettings);
|
||
|
|
||
|
export const HTTP = axios.create({
|
||
|
baseURL: `http://dev.materio.com`,
|
||
|
headers: {
|
||
|
Authorization: 'Bearer {token}'
|
||
|
}
|
||
|
})
|