d255a941 by Glitch (hello-express)

:pouch::rainbow: Checkpoint

./server.js:13690106/53
1 parent acbd873b
1 {"j":{"ack\u001bname":{"":{":":"Jack",">":1587032540203}},"ill\u001bname":{"":{":":"Jill",">":1587032540204.002}}}}
...\ No newline at end of file ...\ No newline at end of file
1 {"j":{"ack\u001bname":{"":{":":"Jack",">":1587032994032}},"ill\u001bname":{"":{":":"Jill",">":1587032608228.001}}}}
...\ No newline at end of file ...\ No newline at end of file
......
...@@ -26,7 +26,7 @@ server.on('upgrade', async function (request, socket, head) { ...@@ -26,7 +26,7 @@ server.on('upgrade', async function (request, socket, head) {
26 // HOW HOW HOW ? IS it even possible to attach the WS to the Gun Object alone? 26 // HOW HOW HOW ? IS it even possible to attach the WS to the Gun Object alone?
27 // Works only when passing "server" to the web parameter, no WS/WSS) 27 // Works only when passing "server" to the web parameter, no WS/WSS)
28 gun.server = new WebSocket.Server({ noServer: true}); 28 gun.server = new WebSocket.Server({ noServer: true});
29 gun.gun = new Gun({peers:[], ws: { noServer: true, path: pathname, web: gun.server }, web: gun.server }); 29 gun.gun = new Gun({peers:[], localStorage: false, ws: { noServer: true, path: pathname, web: gun.server }, web: gun.server });
30 lru.set(pathname,gun); 30 lru.set(pathname,gun);
31 } 31 }
32 } 32 }
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!