️
Checkpoint
./server.js:13690106/44
Showing
2 changed files
with
2 additions
and
2 deletions
1 | {"j":{"ack\u001bname":{"":{":":"Jack",">":1587037784462}},"ill\u001bname":{"":{":":"Jill",">":1587037784464.001}}},"zero":{"1\u001bname":{"":{":":"Jack",">":1587038341751}},"2\u001bname":{"":{":":"Jill",">":1587038341752.001}}}} | ||
... | \ No newline at end of file | ... | \ No newline at end of file |
1 | {"j":{"ack\u001bname":{"":{":":"Jack",">":1587037784462}},"ill\u001bname":{"":{":":"Jill",">":1587037784464.001}}},"zero":{"1\u001bname":{"":{":":"Jack",">":1587039735128}},"2\u001bname":{"":{":":"Jill",">":1587039735132.001}}}} | ||
... | \ No newline at end of file | ... | \ No newline at end of file | ... | ... |
... | @@ -42,7 +42,7 @@ server.on('upgrade', async function (request, socket, head) { | ... | @@ -42,7 +42,7 @@ server.on('upgrade', async function (request, socket, head) { |
42 | console.log('handle connection...'); | 42 | console.log('handle connection...'); |
43 | //ws.emit('connection', socket); | 43 | //ws.emit('connection', socket); |
44 | gun.server.handleUpgrade(request, socket, head, function (ws) { | 44 | gun.server.handleUpgrade(request, socket, head, function (ws) { |
45 | console.log('connecting to gun.. ') | 45 | console.log('connecting to gun.. ', gun.gun.opt().opt ) |
46 | gun.server.emit('connection', ws, request); | 46 | gun.server.emit('connection', ws, request); |
47 | }); | 47 | }); |
48 | 48 | ... | ... |
-
Please register or sign in to post a comment