mirror of
https://github.com/jellyfin/jellyfin-web
synced 2025-03-30 19:56:21 +00:00
update apiclient
This commit is contained in:
parent
bba5791b88
commit
31a5eef8bc
10 changed files with 462 additions and 54 deletions
|
@ -16,12 +16,12 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"ignore": [],
|
||||
"version": "1.0.17",
|
||||
"_release": "1.0.17",
|
||||
"version": "1.0.19",
|
||||
"_release": "1.0.19",
|
||||
"_resolution": {
|
||||
"type": "version",
|
||||
"tag": "1.0.17",
|
||||
"commit": "3ce9bb842c3188d3440aef5319b01a24e57603cb"
|
||||
"tag": "1.0.19",
|
||||
"commit": "09f50cd4f4b126b0ea9a0a26c1b425b4a1e25f5b"
|
||||
},
|
||||
"_source": "git://github.com/MediaBrowser/Emby.ApiClient.Javascript.git",
|
||||
"_target": "~1.0.3",
|
||||
|
|
|
@ -187,7 +187,8 @@
|
|||
|
||||
var fetchRequest = {
|
||||
headers: headers,
|
||||
method: request.type
|
||||
method: request.type,
|
||||
credentials: 'same-origin'
|
||||
};
|
||||
|
||||
var contentType = request.contentType;
|
||||
|
@ -221,6 +222,9 @@
|
|||
|
||||
var timeout = setTimeout(reject, timeoutMs);
|
||||
|
||||
options = options || {};
|
||||
options.credentials = 'same-origin';
|
||||
|
||||
fetch(url, options).then(function (response) {
|
||||
clearTimeout(timeout);
|
||||
resolve(response);
|
||||
|
|
|
@ -88,7 +88,8 @@
|
|||
|
||||
var fetchRequest = {
|
||||
headers: headers,
|
||||
method: request.type
|
||||
method: request.type,
|
||||
credentials: 'same-origin'
|
||||
};
|
||||
|
||||
var contentType = request.contentType;
|
||||
|
@ -124,6 +125,9 @@
|
|||
|
||||
var timeout = setTimeout(reject, timeoutMs);
|
||||
|
||||
options = options || {};
|
||||
options.credentials = 'same-origin';
|
||||
|
||||
fetch(url, options).then(function (response) {
|
||||
clearTimeout(timeout);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue