3daa21e6 by Jabis Sevón

meething label

1 parent 22d83f95
...@@ -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 };
......
Styling with Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!