just renaming commit
authorjordan lavatai <jordanlavatai@gmail.com>
Fri, 7 Jul 2017 16:56:37 +0000 (09:56 -0700)
committerjordan lavatai <jordanlavatai@gmail.com>
Fri, 7 Jul 2017 16:56:37 +0000 (09:56 -0700)
.gitignore
.remote-sync.json [new file with mode: 0644]
client.js
host.js
main.js
strapp.manifest [deleted file]

index 60e2017..03094a4 100644 (file)
@@ -1,3 +1,4 @@
 node_modules/
 .tern-project
 *~
+.remote-sync.json
diff --git a/.remote-sync.json b/.remote-sync.json
new file mode 100644 (file)
index 0000000..4843ceb
--- /dev/null
@@ -0,0 +1,17 @@
+{
+  "transport": "scp",
+  "hostname": "strap.io",
+  "port": 22,
+  "username": "strapp",
+  "keyfile": "C:/Users/Jordan/.ssh/id_rsa",
+  "target": "/home/strapp/strapp.io/",
+  "ignore": [
+    ".remote-sync.json",
+    ".git/**"
+  ],
+  "watch":[
+    "/main.js",
+    "/host.js",
+    "/client.js"
+  ]
+}
index 9b58c5d..19ad38f 100644 (file)
--- a/client.js
+++ b/client.js
@@ -220,6 +220,6 @@ getPublicKey().then((cpk) => {
 })\r
 document.addEventListener('DOMContentLoaded', () => {\r
 \r
-    document.body.innerHTML = `<button> Setting up connection with host </button>`\r
+    document.body.innerHTML = `<button> Setting up connection with host  </button>`\r
 \r
 });\r
diff --git a/host.js b/host.js
index 9814793..d280812 100644 (file)
--- a/host.js
+++ b/host.js
@@ -70,7 +70,7 @@ function handleNewClientConnection(offer) {
             console.log('Host: Finished sending ICE candidates')\r
           }\r
         }\r
-        console.log('Host: Sending answer to Client')\r
+        console.log('Host: Sending answer to Client ')\r
         wsock.send(JSON.stringify({\r
           cmd: '< sdp pubKey',\r
           sdp: hpc.localDescription,\r
diff --git a/main.js b/main.js
index 136aee1..b2d4c7a 100644 (file)
--- a/main.js
+++ b/main.js
@@ -79,7 +79,7 @@ const router = {
         //      (this happens when a client connects to an active route with no currently-online host)\r
       }\r
       else if (headerData.localeCompare('ice-candidate-request') === 0) {\r
-        console.log('Server: received ice-candidate-request from Client')\r
+        console.log('Server: received ice-candidate-request from Client ') \r
         let pubKey = request.headers['x-client-pubkey']\r
         clients.set(pubKey, response)\r
         pubKey = '{ "pubKey": "'  + pubKey + '" }'\r
diff --git a/strapp.manifest b/strapp.manifest
deleted file mode 100644 (file)
index af16a0e..0000000
+++ /dev/null
@@ -1 +0,0 @@
-CACHE MANIFEST