We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents f111652 + 20e8964 commit ce7d123Copy full SHA for ce7d123
frontend/src/utils/generator.ts
@@ -192,7 +192,7 @@ const generateDnsConfig = async (profile: ProfileType) => {
192
const local_dns = profile.dnsConfig['local-dns']
193
const resolver_dns = profile.dnsConfig['resolver-dns']
194
const local_detour = profile.dnsConfig['local-dns-detour']
195
- const local_detour_config = local_detour ? { detour: local_detour } : {}
+ const local_detour_config = { detour: local_detour || 'direct' }
196
const remote_detour = profile.dnsConfig['remote-dns-detour']
197
const remote_detour_config = remote_detour ? { detour: remote_detour } : {}
198
const disable_cache = profile.dnsConfig['disable-cache']
0 commit comments