Commit 635457a9 authored by 何硕's avatar 何硕

Merge branch 'heshuo' into 'master'

测试跨域

See merge request !6
parents 7648abde 9e83f67c
...@@ -48,7 +48,7 @@ io.on('connection', function(socket){ ...@@ -48,7 +48,7 @@ io.on('connection', function(socket){
io.emit(roomid + 'Login', {userid: userid, roomid: roomid}); io.emit(roomid + 'Login', {userid: userid, roomid: roomid});
}) })
.catch(function (error) { .catch(function (error) {
console.log(error.data); console.log(error);
}); });
}); });
......
Markdown is supported
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