mirror of
https://github.com/verdaccio/verdaccio.git
synced 2025-01-20 22:52:46 -05:00
Merge pull request #749 from HCanber/let-fetch-send-cookies
fix: configure fetch to send cookies
This commit is contained in:
commit
d3ba567dd5
1 changed files with 1 additions and 0 deletions
|
@ -26,6 +26,7 @@ class API {
|
||||||
|
|
||||||
return fetch(url, {
|
return fetch(url, {
|
||||||
method,
|
method,
|
||||||
|
credentials: 'same-origin',
|
||||||
...options
|
...options
|
||||||
}).then(handleErrors);
|
}).then(handleErrors);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Reference in a new issue