Merge branch 'feature/vuejs' into feature/vuejs-serverlist

This commit is contained in:
Dane Everitt
2018-06-02 17:12:45 -07:00
18 changed files with 482 additions and 12 deletions

View File

@@ -17,8 +17,8 @@ try {
*/
window.axios = require('axios');
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
window.axios.defaults.headers.common['Accept'] = 'application/json';
window.axios.defaults.headers.common['Authorization'] = 'Bearer ' + localStorage.token || '';
if (typeof phpdebugbar !== 'undefined') {