summary refs log tree commit diff
path: root/src/webrtc/Server.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/webrtc/Server.ts')
-rw-r--r--src/webrtc/Server.ts18
1 files changed, 2 insertions, 16 deletions
diff --git a/src/webrtc/Server.ts b/src/webrtc/Server.ts

index 3a270e68..a20531d9 100644 --- a/src/webrtc/Server.ts +++ b/src/webrtc/Server.ts
@@ -21,13 +21,7 @@ import { closeDatabase, Config, initDatabase, initEvent } from "@spacebar/util"; import http from "http"; import ws from "ws"; import { Connection } from "./events/Connection"; -import { - loadWebRtcLibrary, - mediaServer, - WRTC_PORT_MAX, - WRTC_PORT_MIN, - WRTC_PUBLIC_IP, -} from "./util/MediaServer"; +import { loadWebRtcLibrary, mediaServer, WRTC_PORT_MAX, WRTC_PORT_MIN, WRTC_PUBLIC_IP } from "./util/MediaServer"; import { green, yellow } from "picocolors"; export class Server { @@ -36,15 +30,7 @@ export class Server { public server: http.Server; public production: boolean; - constructor({ - port, - server, - production, - }: { - port: number; - server?: http.Server; - production?: boolean; - }) { + constructor({ port, server, production }: { port: number; server?: http.Server; production?: boolean }) { this.port = port; this.production = production || false;