Skip to content

Commit

Permalink
fix(generator/server): fix datatype of reality server_port
Browse files Browse the repository at this point in the history
Signed-off-by: Tianling Shen <[email protected]>
  • Loading branch information
1715173329 committed Jul 11, 2024
1 parent d1f9572 commit 424d105
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 @@ -146,7 +146,7 @@ uci.foreach(uciconfig, uciserver, (cfg) => {
max_time_difference: cfg.tls_reality_max_time_difference ? (cfg.max_time_difference + 's') : null,
handshake: {
server: cfg.tls_reality_server_addr,
server_port: cfg.tls_reality_server_port
server_port: strToInt(cfg.tls_reality_server_port)
}
} : null
} : null,
Expand Down

0 comments on commit 424d105

Please sign in to comment.