1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2025-02-21 07:29:37 +01: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

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