90bb8761 by Glitch (hello-express)

:closed_umbrella::maple_leaf: Checkpoint

./server.js:13690106/68
1 parent 7914c1a1
{"zero1\u001bname":{"":{":":"Jack",">":1587040426899}}}
\ No newline at end of file
{"!":{"":1}}
\ No newline at end of file
{"zero2\u001bname":{"":{":":"Jill",">":1587040426901}}}
\ No newline at end of file
{"!":{"":1}}
\ No newline at end of file
{"zero1\u001bname":{"":{":":"Jack",">":1587040426899}}}
\ No newline at end of file
{"!":{"":1}}
\ No newline at end of file
{"zero1\u001bname":{"":{":":"Jack",">":1587040426899}}}
\ No newline at end of file
{"!":{"":1}}
\ No newline at end of file
{"zero1\u001bname":{"":{":":"Jack",">":1587040426899}}}
\ No newline at end of file
{"!":{"":1}}
\ No newline at end of file
{"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
{"j":{"ack\u001bname":{"":{":":"Jack",">":1587037784462}},"ill\u001bname":{"":{":":"Jill",">":1587037784464.001}}},"zero":{"1\u001bname":{"":{":":"Jack",">":1587040222866}},"2\u001bname":{"":{":":"Jill",">":1587040222868.001}}}}
\ No newline at end of file
......
......@@ -29,7 +29,7 @@ server.on('upgrade', async function (request, socket, head) {
gun.gun = new Gun({
peers:[], // should we use self as peer?
localStorage: false,
file: false,
file: Math.random().toString(36).substring(7),
ws: { noServer: true, path: pathname, web: gun.server },
web: gun.server
});
......@@ -42,7 +42,7 @@ server.on('upgrade', async function (request, socket, head) {
console.log('handle connection...');
//ws.emit('connection', socket);
gun.server.handleUpgrade(request, socket, head, function (ws) {
console.log('connecting to gun.. ', gun.gun.opt().opt )
console.log('connecting to gun.. ', gun.gun.opt()._.opt.ws.path )
gun.server.emit('connection', ws, request);
});
......
{"zero":{"2\u001bname":{"":{":":"Jill",">":1587040405007.001}},"1\u001bname":{"":{":":"Jack",">":1587040426899}}}}
\ No newline at end of file
{"!":{"":1}}
\ No newline at end of file
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!