aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/server.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.js')
-rw-r--r--src/server.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/server.js b/src/server.js
deleted file mode 100644
index 61eb331..0000000
--- a/src/server.js
+++ /dev/null
@@ -1,20 +0,0 @@
-/*
- * server.js
- * Copyright (c) 2019, Texx
- * License: MIT
- * See https://github.com/texxme/Texx/blob/master/LICENSE
- */
-
-/**
- * This script should only be used on a deployment server.
- * For debugging purposes please use 'npm run dev'
- */
-const PeerServer = require('peer').PeerServer;
-
-const server = PeerServer({
- debug: true,
- port: 4242,
- path: '/api',
-});
-
-server.on('connection', id => console.log(`New connection: ${id}`));