This repository was archived by the owner on Oct 22, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -183,6 +183,7 @@ export function createHttpClientDriver(managerEndpoint: string): ClientDriver {
183183 ? { [ HEADER_CONN_PARAMS ] : JSON . stringify ( params ) }
184184 : { } ) ,
185185 } ,
186+ credentials : "include" ,
186187 } ) ;
187188 } ,
188189 } ) ;
@@ -211,6 +212,7 @@ export function createHttpClientDriver(managerEndpoint: string): ClientDriver {
211212 [ HEADER_CONN_TOKEN ] : connectionToken ,
212213 } ,
213214 body : messageSerialized ,
215+ credentials : "include" ,
214216 } ) ;
215217 return res ;
216218 } ,
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ import { httpUserAgent } from "@/utils";
55import * as cbor from "cbor-x" ;
66import { ActorError , HttpRequestError } from "./errors" ;
77import { logger } from "./log" ;
8+ import { warn } from "node:console" ;
89
910export type WebSocketMessage = string | Blob | ArrayBuffer | Uint8Array ;
1011
@@ -76,6 +77,7 @@ export async function sendHttpRequest<
7677 "User-Agent" : httpUserAgent ( ) ,
7778 } ,
7879 body : bodyData ,
80+ credentials : "include" ,
7981 signal : opts . signal ,
8082 } ) ,
8183 ) ;
You can’t perform that action at this time.
0 commit comments