From f0c64a8282b73cfd9ae16f0fb8e175c12170e399 Mon Sep 17 00:00:00 2001 From: Simon Smith Date: Wed, 30 Jun 2021 14:39:52 +0100 Subject: [PATCH] allow all users to access the pipe --- dao/socketServer.js | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/dao/socketServer.js b/dao/socketServer.js index dece1db..227d233 100644 --- a/dao/socketServer.js +++ b/dao/socketServer.js @@ -308,10 +308,11 @@ function startServer() { this.path= `\\\\.\\pipe\\${this.path}`; } - this.server.listen( - this.path, - this.onStart.bind(this) - ); + this.server.listen({ + path: this.path, + readableAll: true, + writableAll: true + }, this.onStart.bind(this)); return; }