Skip to content

Commit

Permalink
fix: add credentials attribute and support cross domain cookie
Browse files Browse the repository at this point in the history
  • Loading branch information
zhu-xiaowei committed Aug 7, 2024
1 parent 8af4748 commit 7d59889
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/network/NetRequest.ts
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ export class NetRequest {
cookie: configuration.authCookie,
'User-Agent': browserInfo.userAgent,
},
credentials: 'include',
body: eventsJson,
keepalive: isKeepAlive,
};
Expand Down

0 comments on commit 7d59889

Please sign in to comment.