ipc: fix --authentication on iOS clients (don't rely on headers to pass credentials)
misc: remove "new Buffer()" deprecation warning
This commit is contained in:
parent
6b96d208c9
commit
04e4e95c04
4 changed files with 8 additions and 6 deletions
|
|
@ -73,7 +73,7 @@ class Ipc extends EventEmitter {
|
|||
|
||||
open() {
|
||||
|
||||
this.socket = new WebSocket(protocol + window.location.host + '/' + uuid)
|
||||
this.socket = new WebSocket(protocol + window.location.host + '/' + uuid + '/' + window.AUTH)
|
||||
|
||||
this.socket.onclose = this.socket.onerror = ()=>{
|
||||
if (!this.connected()) this.close()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue