From 134030e2c9201de8b0ef0bdf2102a20e8a5e36c9 Mon Sep 17 00:00:00 2001 From: cgeek <cem.moreau@gmail.com> Date: Tue, 26 Sep 2017 14:31:52 +0200 Subject: [PATCH] [fix] #1122 Enable public WS2P by default --- app/modules/ws2p/index.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/modules/ws2p/index.ts b/app/modules/ws2p/index.ts index 3d49ed1f9..d9b43c7ce 100644 --- a/app/modules/ws2p/index.ts +++ b/app/modules/ws2p/index.ts @@ -37,13 +37,13 @@ export const WS2PDependency = { conf.ws2p = conf.ws2p || { uuid: nuuid.v4().slice(0,8), privateAccess: true, - publicAccess: false + publicAccess: true } // For config with missing value conf.ws2p.uuid = conf.ws2p.uuid || nuuid.v4().slice(0,8) if (conf.ws2p.privateAccess === undefined) conf.ws2p.privateAccess = true - if (conf.ws2p.publicAccess === undefined) conf.ws2p.publicAccess = false + if (conf.ws2p.publicAccess === undefined) conf.ws2p.publicAccess = true if (program.ws2pHost !== undefined) conf.ws2p.host = program.ws2pHost if (program.ws2pPort !== undefined) conf.ws2p.port = parseInt(program.ws2pPort) -- GitLab