summary refs log tree commit diff
path: root/webrtc/src/start.ts
diff options
context:
space:
mode:
authorMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-01-17 02:59:26 +1100
committerMadeline <46743919+MaddyUnderStars@users.noreply.github.com>2022-01-17 02:59:26 +1100
commit2e573cc3056da60a45556179687fb4c720af1227 (patch)
tree5f1dcc89276e18ab5c1eb8b0cd7ef177094ca64e /webrtc/src/start.ts
parentmessing around with things I don't understand (diff)
downloadserver-2e573cc3056da60a45556179687fb4c720af1227.tar.xz
more fuckery
Diffstat (limited to 'webrtc/src/start.ts')
-rw-r--r--webrtc/src/start.ts6
1 files changed, 6 insertions, 0 deletions
diff --git a/webrtc/src/start.ts b/webrtc/src/start.ts
index 5614982d..299bfce8 100644
--- a/webrtc/src/start.ts
+++ b/webrtc/src/start.ts
@@ -1,4 +1,10 @@
+import { config } from "dotenv";
+config();
+
 import { Server } from "./Server";
 
+//testing
+process.env.DATABASE = "../bundle/database.db";
+
 const server = new Server();
 server.listen();
\ No newline at end of file