Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Jabis Sevón
/
gun-multiserver
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Graphs
Network
Create a new issue
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
70d66444
authored
2020-05-02 14:18:12 +0700
by
Jabis Sevón
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
logging objects
1 parent
4eb42662
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
server.js
server.js
View file @
70d6644
...
...
@@ -101,9 +101,10 @@ server.on("upgrade", async function(request, socket, head) {
})
let
roomnode
=
user
.
get
(
roomname
).
put
(
obj
);
let
putnode
=
g
.
get
(
'rtcmeeting'
).
get
(
roomname
);
let
rack
=
putnode
.
put
(
roomnode
);
console
.
log
(
"room created"
);
rack
.
once
(
Gun
.
log
);
putnode
.
put
(
roomnode
,
function
(
rack
){
console
.
log
(
"room created"
,
rack
);
putnode
.
once
(
Gun
.
log
);
});
});
});
}
else
{
...
...
Write
Preview
Styling with
Markdown
is supported
Attach a file
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to post a comment