summary refs log tree commit diff
path: root/webrtc
diff options
context:
space:
mode:
Diffstat (limited to 'webrtc')
-rw-r--r--webrtc/package.json1
-rw-r--r--webrtc/src/Server.ts5
2 files changed, 3 insertions, 3 deletions
diff --git a/webrtc/package.json b/webrtc/package.json
index 54c043ee..8163ac57 100644
--- a/webrtc/package.json
+++ b/webrtc/package.json
@@ -4,6 +4,7 @@
 	"description": "A javascript fosscord webrtc server for voice and video communication",
 	"main": "index.js",
 	"scripts": {
+		"postinstall": "npm link @fosscord/util",
 		"test": "npm run build && node dist/test.js",
 		"build": "tsc -b .",
 		"start": "npm run build && node dist/start.js"
diff --git a/webrtc/src/Server.ts b/webrtc/src/Server.ts
index bb82e659..41ca65d1 100644
--- a/webrtc/src/Server.ts
+++ b/webrtc/src/Server.ts
@@ -1,6 +1,6 @@
 import { Server as WebSocketServer } from "ws";
-import { Config, db } from "@fosscord/server-util";
-import mediasoup from "mediasoup"
+import { Config, db } from "@fosscord/util";
+import mediasoup from "mediasoup";
 
 var port = Number(process.env.PORT);
 if (isNaN(port)) port = 3004;
@@ -30,7 +30,6 @@ export class Server {
 				);
 			});
 		});
-
 	}
 
 	async listen(): Promise<void> {