luci-app-homeproxy: sync upstream

last commit: c8622ad885
This commit is contained in:
gitea-action 2024-12-03 15:30:21 +08:00
parent 959e1ce0b8
commit 4770ac40ca

View File

@ -82,7 +82,7 @@ uci.foreach(uciconfig, uciserver, (cfg) => {
/* HTTP / Hysteria (2) / Mixed / Socks / Trojan / Tuic / VLESS / VMess */
users: (cfg.type !== 'shadowsocks') ? [
{
name: !(cfg.type in ['http', 'mixed', 'socks']) ? 'cfg-' + cfg['.name'] + '-server' : null,
name: !(cfg.type in ['http', 'mixed', 'naive', 'socks']) ? 'cfg-' + cfg['.name'] + '-server' : null,
username: cfg.username,
password: cfg.password,