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
8a72f4ce
authored
2020-04-16 12:10:20 +0000
by
Glitch (hello-express)
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Checkpoint
./server.js:13690106/22
1 parent
ba74d1db
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server.js
server.js
View file @
8a72f4c
...
...
@@ -33,7 +33,7 @@ server.on('upgrade', async function (request, socket, head) {
ws
:
{
noServer
:
true
,
path
:
pathname
,
web
:
gun
.
server
},
web
:
gun
.
server
});
gun
.
gun
.
on
(
"in"
,
function
(
msg
)
{
console
.
log
(
'got'
,
msg
)
});
// gun.gun.on("in", function(msg) { console.log('got',msg
) });
lru
.
set
(
pathname
,
gun
);
}
}
...
...
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