luci: change the default value of VLESS subscribe fingerprint to chrome

According to section 4.4.0 in https://github.com/XTLS/Xray-core/discussions/716, the default value of fp in VLESS share link should be chrome when omitted.
This commit is contained in:
Kuma 2023-02-07 23:35:43 +08:00 committed by sbwml
parent 2ea7175be2
commit a5e25cb7c9

View File

@ -775,7 +775,7 @@ local function processData(szType, content, add_mode, add_from)
result.tls = "1"
result.tlsflow = params.flow or nil
result.tls_serverName = (params.sni and params.sni ~= "") and params.sni or params.host
result.fingerprint = (params.fp and params.fp ~= "") and params.fp or nil
result.fingerprint = (params.fp and params.fp ~= "") and params.fp or "chrome"
end
result.port = port