1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

merge from dev

This commit is contained in:
Luke Pulverenti 2015-12-26 13:35:53 -05:00
parent 5e64aeba54
commit 8d7ae321a0
27 changed files with 678 additions and 500 deletions

View file

@ -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);