Mise à jour de GitLab prévue ce samedi 23 octobre 2021 à partir de 9h00 CET

Commit 134030e2 authored by Cédric Moreau's avatar Cédric Moreau
Browse files

[fix] #1122 Enable public WS2P by default

parent ea0c43a5
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment