server.js:
This commit is contained in:
parent
022bc97cf4
commit
df046a3977
1 changed files with 5 additions and 5 deletions
10
server.js
10
server.js
|
@ -1,8 +1,8 @@
|
|||
const { Server } = require("cevitxe-signal-server/dist");
|
||||
const { Server } = require('@localfirst/relay')
|
||||
|
||||
const DEFAULT_PORT = 8080;
|
||||
const port = Number(process.env.PORT) || DEFAULT_PORT;
|
||||
const DEFAULT_PORT = 8080
|
||||
const port = Number(process.env.PORT) || DEFAULT_PORT
|
||||
|
||||
const server = new Server({ port });
|
||||
const server = new Server({ port })
|
||||
|
||||
server.listen();
|
||||
server.listen()
|
||||
|
|
Loading…
Reference in a new issue