Omit credentials in fetch request

This commit is contained in:
Santeri Elo 2025-01-17 07:04:26 +02:00
parent bce70c1034
commit 5ed622760c

View file

@ -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();