mirror of
https://github.com/mozilla/pdf.js.git
synced 2025-04-19 22:58:07 +02:00
Fix #8888: Change behaviour of fetch to make it compatible with XHR.
This commit is contained in:
parent
31a34335a0
commit
ef7038fe34
1 changed files with 1 additions and 1 deletions
|
@ -26,7 +26,7 @@ function createFetchOptions(headers, withCredentials) {
|
|||
method: 'GET',
|
||||
headers,
|
||||
mode: 'cors',
|
||||
credentials: withCredentials ? 'include' : 'omit',
|
||||
credentials: withCredentials ? 'include' : 'same-origin',
|
||||
redirect: 'follow',
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue