diff --git a/easytier-web/frontend-lib/src/components/Config.vue b/easytier-web/frontend-lib/src/components/Config.vue index 6f38c528..1dc14a30 100644 --- a/easytier-web/frontend-lib/src/components/Config.vue +++ b/easytier-web/frontend-lib/src/components/Config.vue @@ -120,6 +120,21 @@ function searchListenerSuggestions(e: { query: string }) { listenerSuggestions.value = ret } +interface BoolFlag { + field: keyof NetworkConfig + help: string +} + +const bool_flags: BoolFlag[] = [ + { field: 'latency_first', help: 'latency_first_help' }, + { field: 'use_smoltcp', help: 'use_smoltcp_help' }, + { field: 'enable_kcp_proxy', help: 'enable_kcp_proxy_help' }, + { field: 'disable_kcp_input', help: 'disable_kcp_input_help' }, + { field: 'disable_p2p', help: 'disable_p2p_help' }, + { field: 'bind_device', help: 'bind_device_help' }, + { field: 'no_tun', help: 'no_tun_help' }, +] +