Skip to content

Commit a143165

Browse files
committed
Set content-type header
1 parent 051f785 commit a143165

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/channel/httpBeaconChannel.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ export class HttpBeaconChannel implements DuplexChannel<string, Envelope<string,
5252
'X-App-Id': appId,
5353
'X-Client-Id': await cidAssigner.assignCid(),
5454
'X-Client-Library': CLIENT_LIBRARY,
55+
'Content-Type': 'application/json',
5556
...(token !== undefined ? {'X-Token': token} : {}),
5657
},
5758
body: JSON.stringify({

0 commit comments

Comments
 (0)