Skip to content

Commit 37b4fcf

Browse files
committed
Change content-type to application/sdp
1 parent 0f17f3c commit 37b4fcf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ <h1> WebRTC Voicemail </h1>
2121
fetch('/create-voicemail', {
2222
method: 'POST',
2323
headers: {
24-
'Content-Type': 'application/json'
24+
'Content-Type': 'application/sdp'
2525
},
2626
body: pc.pendingLocalDescription.sdp
2727
}).then(r => r.text())

0 commit comments

Comments
 (0)