From 074983fe485c76166bcfd519ee2e4f40457abf18 Mon Sep 17 00:00:00 2001 From: Ayideyia <150233177+Ayideyia@users.noreply.github.com> Date: Sun, 7 Jul 2024 11:22:31 +0800 Subject: [PATCH] fix: The generated `route-address` configuration is incorrect --- frontend/src/utils/generator.ts | 5 ----- 1 file changed, 5 deletions(-) diff --git a/frontend/src/utils/generator.ts b/frontend/src/utils/generator.ts index 143e4b36..0aa950e9 100644 --- a/frontend/src/utils/generator.ts +++ b/frontend/src/utils/generator.ts @@ -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 }