Skip to content

Commit

Permalink
fix(generator/server): fix generate naive users
Browse files Browse the repository at this point in the history
Fixes: #235
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Dec 3, 2024
1 parent 64c1124 commit c8622ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion root/etc/homeproxy/scripts/generate_server.uc
Original file line number Diff line number Diff line change
Expand Up @@ -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,

Expand Down

0 comments on commit c8622ad

Please sign in to comment.