diff --git a/rest/readme.md b/rest/readme.md index 9ba9da2d4b5..6851a89874c 100644 --- a/rest/readme.md +++ b/rest/readme.md @@ -71,7 +71,7 @@ await con.setLocalDescription() await new Promise( done => con.onicecandidate = ({ candidate })=> done( candidate ) ) // Exchange SDP -const sdp = await fetch( 'http://127.0.0.1:9090/p2p', { +const sdp = await fetch( '/any/query', { headers: { 'content-type': 'application/sdp' }, method: 'options', body: on.localDescription.sdp,