Skip to content

Commit

Permalink
chore(generator/client): Omit invert if invert = false
Browse files Browse the repository at this point in the history
  • Loading branch information
muink authored and 1715173329 committed Dec 27, 2023
1 parent 2dfddbe commit b8cf832
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions root/etc/homeproxy/scripts/generate_client.uc
Original file line number Diff line number Diff line change
Expand Up @@ -415,7 +415,7 @@ if (!isEmpty(main_node)) {
process_name: cfg.process_name,
process_path: cfg.process_path,
user: cfg.user,
invert: (cfg.invert === '1'),
invert: (cfg.invert === '1') || null,
outbound: get_outbound(cfg.outbound),
server: get_resolver(cfg.server),
disable_cache: (cfg.dns_disable_cache === '1'),
Expand Down Expand Up @@ -599,7 +599,7 @@ if (!isEmpty(main_node)) {
process_name: cfg.process_name,
process_path: cfg.process_path,
user: cfg.user,
invert: (cfg.invert === '1'),
invert: (cfg.invert === '1') || null,
outbound: get_outbound(cfg.outbound)
});
});
Expand Down

0 comments on commit b8cf832

Please sign in to comment.