mirror of
https://github.com/msmhq/msm.git
synced 2024-08-30 18:12:35 +00:00
Add cross domain origin sending support
This commit is contained in:
parent
ba78683ea1
commit
06dded9474
@ -86,6 +86,9 @@ $(function() {
|
|||||||
url: url + "&page=" + page,
|
url: url + "&page=" + page,
|
||||||
dataType: 'json',
|
dataType: 'json',
|
||||||
async: false,
|
async: false,
|
||||||
|
xhrFields: {
|
||||||
|
withCredentials: true,
|
||||||
|
},
|
||||||
success: function(data) {
|
success: function(data) {
|
||||||
if (data.length == 100) {
|
if (data.length == 100) {
|
||||||
output = getAllPages(url, output.concat(data), page + 1);
|
output = getAllPages(url, output.concat(data), page + 1);
|
||||||
|
Loading…
Reference in New Issue
Block a user