@@ -15,7 +15,7 @@ class HomeController extends Controller {
const newdata = { uid, roomid };
ctx.app.io.of('/').emit('message', JSON.stringify(newdata));
// await this.ctx.socket.emit('message', JSON.stringify(newdata));
- ctx.body = 'hi, egg';
+ ctx.body = newdata;
}