node_modules/
.tern-project
*~
+.remote-sync.json
--- /dev/null
+{
+ "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"
+ ]
+}
})\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
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
// (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
+++ /dev/null
-CACHE MANIFEST