Init
This commit is contained in:
7
resources/js/bootstrap.js
vendored
Normal file
7
resources/js/bootstrap.js
vendored
Normal file
@@ -0,0 +1,7 @@
|
||||
import axios from 'axios'
|
||||
|
||||
window.axios = axios
|
||||
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest'
|
||||
window.axios.defaults.withCredentials = true
|
||||
window.axios.defaults.withXSRFToken = true
|
||||
Reference in New Issue
Block a user