pull/1565/head
Daniel Supernault 2019-08-01 22:39:50 -06:00
rodzic bd7cad9984
commit 5a1aba18bc
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 0DEF1C662C9033F7
1 zmienionych plików z 7 dodań i 1 usunięć

Wyświetl plik

@ -11,5 +11,11 @@ let token = document.head.querySelector('meta[name="csrf-token"]');
if (token) {
window.axios.defaults.headers.common['X-CSRF-TOKEN'] = token.content;
} else {
console.error('CSRF token not found: https://laravel.com/docs/csrf#csrf-x-csrf-token');
console.error('CSRF token not found.');
}
window.App = {};
window.App.boot = function() {
new Vue({ el: '#content'});
}