Omit credentials in fetch request
This commit is contained in:
@@ -214,6 +214,7 @@
|
|||||||
method: 'POST',
|
method: 'POST',
|
||||||
body: JSON.stringify({ type, payload }),
|
body: JSON.stringify({ type, payload }),
|
||||||
headers,
|
headers,
|
||||||
|
credentials: 'omit',
|
||||||
});
|
});
|
||||||
const text = await res.text();
|
const text = await res.text();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user