aboutsummaryrefslogtreecommitdiffhomepage
path: root/public/scripts/main.js
diff options
context:
space:
mode:
Diffstat (limited to 'public/scripts/main.js')
-rw-r--r--public/scripts/main.js4
1 files changed, 4 insertions, 0 deletions
diff --git a/public/scripts/main.js b/public/scripts/main.js
new file mode 100644
index 0000000..a9edca0
--- /dev/null
+++ b/public/scripts/main.js
@@ -0,0 +1,4 @@
+const nanoid = require('nanoid');
+
+var peer = new Peer(nanoid(), {host: '127.0.0.1', port: 4242, path: '/'});
+