mirror of
https://github.com/whyour/qinglong.git
synced 2026-12-01 09:45:36 +08:00
添加依赖管理
This commit is contained in:
1 parent
bad247c51c
commit
795d1b938d
19 files changed
+1170
-17
No files matched your search
@@ -18,7 +18,7 @@ export default async ({ server }: { server: Server }) => {
|
||||
if (data) {
|
||||
const { token = '', tokens = {} } = JSON.parse(data);
|
||||
if (headerToken === token || tokens[platform] === headerToken) {
|
||||
conn.write('hanhh');
|
||||
conn.write(JSON.stringify({ type: 'ping', message: 'hanhh' }));
|
||||
sockService.addClient(conn);
|
||||
|
||||
conn.on('data', (message) => {
|
||||
|
||||
Reference in new issue
Block a user