aboutsummaryrefslogtreecommitdiffhomepage
path: root/src
diff options
context:
space:
mode:
authorMarvin Borner2019-01-22 21:43:06 +0100
committerMarvin Borner2019-01-22 21:43:06 +0100
commit3b7fbc8893bea720efea29164de5ee921e9b2b9f (patch)
treeba51530817ecb3df49378379e0a6f46fef97bd1d /src
parent3de7505e2b0a2daa6386ab161e9b8520870c1393 (diff)
Switched to file based server executable
Diffstat (limited to 'src')
-rw-r--r--src/server.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server.js b/src/server.js
new file mode 100644
index 0000000..d9dda79
--- /dev/null
+++ b/src/server.js
@@ -0,0 +1,2 @@
+const PeerServer = require('peer').PeerServer;
+PeerServer({port: 4242, path: '/'});