PROD removed all warning, exported variable new Vue, added Content-Security-Policy head's meta
This commit is contained in:
@ -3,9 +3,10 @@ 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.origin', window.location.origin)
|
||||
|
||||
export const REST = axios.create({
|
||||
baseURL: window.location.origin,
|
||||
baseURL: '//' + window.location.host,
|
||||
withCredentials: true,
|
||||
headers: {
|
||||
// Authorization: 'Bearer {token}',
|
||||
|
Reference in New Issue
Block a user