Closed nanhantianyi closed 6 months ago
Hey @nanhantianyi thanks for the PR. Could you please make your PR description more informative to speed up my PR review process? Which was the issue and why do we need some sitting optional in the config file template? Please also always add an empty line at the end of the file. Thank you!
Hi @ngoduykhanh ,there is an {{end}} tag in wrong place which make the "Endpoint" config out of the range of ".Client.Enabled". Make “PostUp”、”PreDown“、”PostDown“、”Table“ optional to ensure there is no empty config in generated file if user don't set them.
Fix logic error and make some settings optional in wg.conf template.