
Checkpoint
./server.js:13690106/19
Showing
1 changed file
with
1 additions
and
1 deletions
... | @@ -25,7 +25,7 @@ server.on('upgrade', async function (request, socket, head) { | ... | @@ -25,7 +25,7 @@ server.on('upgrade', async function (request, socket, head) { |
25 | // HOW HOW HOW ? IS it even possible to attach the WS to the Gun Object alone? | 25 | // HOW HOW HOW ? IS it even possible to attach the WS to the Gun Object alone? |
26 | // Works only when passing "server" to the web parameter, no WS/WSS) | 26 | // Works only when passing "server" to the web parameter, no WS/WSS) |
27 | //gun.server = new WebSocket.Server({ noServer: true}); | 27 | //gun.server = new WebSocket.Server({ noServer: true}); |
28 | gun.gun = new Gun({peers:[], ws: { noServer: true }, web: gun.server }); | 28 | gun.gun = new Gun({peers:[], ws: { noServer: true }, web: undefined }); |
29 | lru.set(pathname,gun); | 29 | lru.set(pathname,gun); |
30 | } | 30 | } |
31 | } | 31 | } | ... | ... |
-
Please register or sign in to post a comment