File tree Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Expand file tree Collapse file tree 4 files changed +3
-3
lines changed Original file line number Diff line number Diff line change 2
2
"name" : " placement_socket" ,
3
3
"version" : " 0.1.0" ,
4
4
"private" : true ,
5
- "proxy" : " http ://localhost:8000 " ,
5
+ "proxy" : " https ://43e9c7ab.ngrok.io " ,
6
6
"dependencies" : {
7
7
"@material-ui/core" : " ^4.6.1" ,
8
8
"axios" : " ^0.19.0" ,
File renamed without changes.
Original file line number Diff line number Diff line change 9
9
"socket.io" : " ^2.3.0"
10
10
},
11
11
"scripts" : {
12
- "start" : " node server .js"
12
+ "start" : " node index .js"
13
13
}
14
14
}
Original file line number Diff line number Diff line change @@ -38,7 +38,7 @@ const Room = (props) => {
38
38
const roomID = props . match . params . roomID ;
39
39
40
40
useEffect ( ( ) => {
41
- socketRef . current = io . connect ( "/ " ) ;
41
+ socketRef . current = io . connect ( "https://43e9c7ab.ngrok.io " ) ;
42
42
navigator . mediaDevices . getUserMedia ( { video : videoConstraints , audio : false } ) . then ( stream => {
43
43
userVideo . current . srcObject = stream ;
44
44
socketRef . current . emit ( "join room" , roomID ) ;
You can’t perform that action at this time.
0 commit comments