mirror of
https://github.com/laravel/laravel.git
synced 2025-02-20 11:53:14 +08:00
tweak js file
This commit is contained in:
parent
b9db2864fe
commit
e78ef3ee42
File diff suppressed because one or more lines are too long
5
resources/assets/js/bootstrap.js
vendored
5
resources/assets/js/bootstrap.js
vendored
@ -25,7 +25,10 @@ window.Vue = require('vue');
|
||||
*/
|
||||
|
||||
window.axios = require('axios');
|
||||
window.axios.defaults.headers.common['X-Requested-With'] = 'XMLHttpRequest';
|
||||
|
||||
window.axios.defaults.headers.common = {
|
||||
'X-Requested-With': 'XMLHttpRequest'
|
||||
};
|
||||
|
||||
/**
|
||||
* Echo exposes an expressive API for subscribing to channels and listening
|
||||
|
Loading…
x
Reference in New Issue
Block a user