mirror of
https://github.com/retailcrm/NelmioApiDocBundle.git
synced 2025-03-11 01:56:08 +03:00
Merge pull request #772 from richaas/master
Added xhrFields: { withCredentials: true } to ajaxOptions
This commit is contained in:
commit
028b09e90a
@ -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…
x
Reference in New Issue
Block a user