node-websocket-Chatroom
node-websocket-Chatroom copied to clipboard
web聊天室项目
大佬如果要使用服务器这个改怎么搭建,能写一个教程吗? 谢谢
请问这个数据是存在哪里的?
 前端输入文字过多是时候会出现消息覆盖头像情况  别人处消息也会溢出
两个用户通过内网穿透时无法看到对方
可以聊天,但是显示一些错误  (node:15440) UnhandledPromiseRejectionWarning: Error: getaddrinfo ENOTFOUND ***.**.**.* ***.**.**.*:3306 at GetAddrInfoReqWrap.onlookup [as oncomplete] (dns.js:57:26) -------------------- at Protocol._enqueue (C:\Users\Administrator\Desktop\JS\node-websocket-Chatroom-master\node_modules\mysql\lib\protocol\Protocol.js:144:48) at Protocol.handshake (C:\Users\Administrator\Desktop\JS\node-websocket-Chatroom-master\node_modules\mysql\lib\protocol\Protocol.js:51:23) at PoolConnection.connect (C:\Users\Administrator\Desktop\JS\node-websocket-Chatroom-master\node_modules\mysql\lib\Connection.js:116:18) at Pool.getConnection (C:\Users\Administrator\Desktop\JS\node-websocket-Chatroom-master\node_modules\mysql\lib\Pool.js:48:16) at Promise (C:\Users\Administrator\Desktop\JS\node-websocket-Chatroom-master\log\DB.js:15:12)...
场景一:用户离线状态,商家在线状态。 商家发送消息,用户上线,用户接收到商家推送的消息。 场景二:用户在线状态,商家离线状态。 用户发送消息,商家上线看到消息并回复消息。
就是我不知道打包以后这个东西要怎么配置后端 一直404一直404
能直接部署在服务器使用吗