Add credentials include to fetch wrapper for cross-origin cookie support

This commit is contained in:
Chris Scott committed 2026-03-21 23:34:30 -04:00
1 parent 0eb0a8b2a8
commit 2456e2f08b
1 file changed
+1
+1
View File
@@ -63,6 +63,7 @@ async function fetchWithTimeout(
try {
const response = await fetch(urlObj.toString(), {
credentials: 'include',
...fetchOptions,
signal: controller.signal,
})