Skip to content

Commit

Permalink
fix: The generated route-address configuration is incorrect
Browse files Browse the repository at this point in the history
  • Loading branch information
Ayideyia committed Jul 7, 2024
1 parent 8b0130f commit 074983f
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions frontend/src/utils/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -262,11 +262,6 @@ export const generateConfig = async (originalProfile: ProfileType) => {
}

// step 1
if (config.tun.enable && config.tun['auto-route']) {
config['route-address'] = config.tun['route-address']
}
delete config.tun['route-address']

if (!config.dns.listen) {
delete config.dns.listen
}
Expand Down

0 comments on commit 074983f

Please sign in to comment.