Omit credentials in fetch request
This commit is contained in:
1 parent
bce70c1034
commit
5ed622760c
1 file changed
+1
@@ -214,6 +214,7 @@
|
||||
method: 'POST',
|
||||
body: JSON.stringify({ type, payload }),
|
||||
headers,
|
||||
credentials: 'omit',
|
||||
});
|
||||
const text = await res.text();
|
||||
|
||||
|
||||
Reference in new issue
Block a user