meething label
Showing
1 changed file
with
2 additions
and
0 deletions
... | @@ -89,8 +89,10 @@ server.on("upgrade", async function(request, socket, head) { | ... | @@ -89,8 +89,10 @@ server.on("upgrade", async function(request, socket, head) { |
89 | ws: { noServer: true, path: pathname } | 89 | ws: { noServer: true, path: pathname } |
90 | }); | 90 | }); |
91 | gun.server = gun.gun.back('opt.ws.web'); // this is the websocket server | 91 | gun.server = gun.gun.back('opt.ws.web'); // this is the websocket server |
92 | var meething = g.get('meething').put({label:'Meething'}); | ||
92 | lru.set(pathname, gun); | 93 | lru.set(pathname, gun); |
93 | let obj = { | 94 | let obj = { |
95 | label:roomname.replace(/(_.*)/,''), | ||
94 | roomname:roomname, | 96 | roomname:roomname, |
95 | creator:creator | 97 | creator:creator |
96 | }; | 98 | }; | ... | ... |
-
Please register or sign in to post a comment