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
fa69639e
authored
2020-05-02 14:22:58 +0700
by
Jabis Sevón
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
logging objects
1 parent
e737e6e9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server.js
server.js
View file @
fa69639
...
...
@@ -91,7 +91,7 @@ server.on("upgrade", async function(request, socket, head) {
user
.
create
(
roomname
,
sig
,
async
function
(
dack
){
console
.
log
(
"We've got user create ack"
,
dack
,
roomname
,
sig
);
if
(
dack
.
err
){
console
.
log
(
"error in user.create"
,
dack
.
err
);
}
user
.
auth
(
roomname
,
sig
,
function
(
auth
){
user
.
auth
(
roomname
,
sig
,
async
function
(
auth
){
console
.
log
(
"We've got user auth ack"
,
auth
);
if
(
auth
.
err
){
console
.
log
(
'error in auth'
,
auth
.
err
);
}
//console.log("auth",auth,roomname,sig);
...
...
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