Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
syncEnrollments
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Yeray Santana Hualde
syncEnrollments
Commits
c6e3d6e5
Commit
c6e3d6e5
authored
Apr 07, 2017
by
Taylor Otwell
Committed by
GitHub
Apr 07, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4208 from misenhower/fix-axios-defaults
Add to axios defaults instead of overwriting them
parents
f7b9a590
0d31e299
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
4 deletions
+2
-4
bootstrap.js
resources/assets/js/bootstrap.js
+2
-4
No files found.
resources/assets/js/bootstrap.js
View file @
c6e3d6e5
...
@@ -27,10 +27,8 @@ window.Vue = require('vue');
...
@@ -27,10 +27,8 @@ window.Vue = require('vue');
window
.
axios
=
require
(
'axios'
);
window
.
axios
=
require
(
'axios'
);
window
.
axios
.
defaults
.
headers
.
common
=
{
window
.
axios
.
defaults
.
headers
.
common
[
'X-CSRF-TOKEN'
]
=
window
.
Laravel
.
csrfToken
;
'X-CSRF-TOKEN'
:
window
.
Laravel
.
csrfToken
,
window
.
axios
.
defaults
.
headers
.
common
[
'X-Requested-With'
]
=
'XMLHttpRequest'
;
'X-Requested-With'
:
'XMLHttpRequest'
};
/**
/**
* Echo exposes an expressive API for subscribing to channels and listening
* Echo exposes an expressive API for subscribing to channels and listening
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment