bugfix
This commit is contained in:
parent
ca15d0c951
commit
bc1b52d5de
@ -112,6 +112,7 @@ bricks.Signaling = class {
|
|||||||
return h
|
return h
|
||||||
}
|
}
|
||||||
login(){
|
login(){
|
||||||
|
console.log('login send')
|
||||||
var d = {
|
var d = {
|
||||||
type:'login',
|
type:'login',
|
||||||
}
|
}
|
||||||
@ -127,6 +128,7 @@ bricks.Signaling = class {
|
|||||||
send_data(d){
|
send_data(d){
|
||||||
d.msgfrom = this.info;
|
d.msgfrom = this.info;
|
||||||
var s = JSON.stringify(d);
|
var s = JSON.stringify(d);
|
||||||
|
console.log('send_data()', s);
|
||||||
this.socket.send(s);
|
this.socket.send(s);
|
||||||
}
|
}
|
||||||
socket_send(s){
|
socket_send(s){
|
||||||
|
Loading…
Reference in New Issue
Block a user