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
04f46b2f
authored
2020-05-03 19:04:24 +0700
by
Jabis Sevón
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
roomname
1 parent
34c50db8
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
server.js
server.js
View file @
04f46b2
...
...
@@ -16,7 +16,7 @@ const http = require("http");
const
https
=
require
(
"https"
);
const
WebSocket
=
require
(
"ws"
);
let
debug
=
process
.
env
.
DEBUG
||
true
;
let
relaypeers
=
process
.
env
.
RELAY
||
'https://
mg
.rig.airfaas.com/'
;
let
relaypeers
=
process
.
env
.
RELAY
||
'https://
rtc
.rig.airfaas.com/'
;
let
config
=
{};
if
(
debug
)
console
.
log
(
SEA
,
Gun
.
SEA
);
config
.
options
=
{
...
...
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