Commit 3df05808 authored by marioromera's avatar marioromera
Browse files

allow trickle in production

parent c858a211
......@@ -80,9 +80,10 @@ body {
display: flex;
flex-direction: column;
margin: 5px;
position: relative;
.scuttlebutt {
width: 100%;
height: 10%;
}
.p2p-containers {
......
......@@ -16,7 +16,7 @@ export function createPeer({ id, initiator }) {
console.log('Creating peer', id, initiator);
const peer = new Peer({
initiator,
trickle: false,
trickle: process.env.NODE_ENV === 'production',
});
peer.id = id || peer._id;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment