mirror of
https://github.com/chriswritescode-dev/opencode-manager.git
synced 2026-12-05 12:24:30 +01:00
Add credentials include to fetch wrapper for cross-origin cookie support
This commit is contained in:
1 parent
0eb0a8b2a8
commit
2456e2f08b
1 file changed
+1
@@ -63,6 +63,7 @@ async function fetchWithTimeout(
|
||||
|
||||
try {
|
||||
const response = await fetch(urlObj.toString(), {
|
||||
credentials: 'include',
|
||||
...fetchOptions,
|
||||
signal: controller.signal,
|
||||
})
|
||||
|
||||
Reference in new issue
Block a user