mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-04-02 21:36:14 +03:00
Merge pull request #772 from richaas/master
Added xhrFields: { withCredentials: true } to ajaxOptions
This commit is contained in:
commit
028b09e90a
1 changed files with 1 additions and 0 deletions
|
@ -530,6 +530,7 @@
|
|||
var data = content.length ? content : body;
|
||||
var ajaxOptions = {
|
||||
url: (url.indexOf('http')!=0?endpoint:'') + url,
|
||||
xhrFields: { withCredentials: true },
|
||||
type: method,
|
||||
data: data,
|
||||
headers: headers,
|
||||
|
|
Loading…
Add table
Reference in a new issue