Skip to content

Commit f6482e5

Browse files
jan-auerkamilogorek
authored andcommitted
fix: Do not include credentials by default (#1191)
1 parent 562fb28 commit f6482e5

File tree

3 files changed

+0
-3
lines changed

3 files changed

+0
-3
lines changed

docs/config.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,6 @@ Those configuration options are documented below:
313313
314314
{
315315
method: 'POST',
316-
credentials: 'include',
317316
keepalive: true,
318317
referrerPolicy: 'origin'
319318
}

src/raven.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,6 @@ function Raven() {
8787
};
8888
this._fetchDefaults = {
8989
method: 'POST',
90-
credentials: 'include',
9190
keepalive: true,
9291
referrerPolicy: 'origin'
9392
};

test/raven.test.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1783,7 +1783,6 @@ describe('globals', function() {
17831783
assert.deepEqual(window.fetch.lastCall.args, [
17841784
'http://localhost/?a=1&b=2',
17851785
{
1786-
credentials: 'include',
17871786
keepalive: true,
17881787
referrerPolicy: 'origin',
17891788
method: 'POST',

0 commit comments

Comments
 (0)