0
Fork 0
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:
Juan Picado @jotadeveloper 2018-06-11 15:03:14 +02:00 committed by GitHub
commit d3ba567dd5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -26,6 +26,7 @@ class API {
return fetch(url, {
method,
credentials: 'same-origin',
...options
}).then(handleErrors);
}