Explorar el Código

fix(outbound): add None option to uTLS fingerprint in TLS form (#4760)

Hysteria doesn't use uTLS, but the outbound TLS form's uTLS dropdown only listed concrete fingerprints (chrome, firefox, ...) with no explicit empty entry. Add a None option, matching the inbound TLS form, so the fingerprint can be left empty.
MHSanaei hace 7 horas
padre
commit
6ae1b38607
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      frontend/src/pages/xray/outbounds/security/tls.tsx

+ 1 - 1
frontend/src/pages/xray/outbounds/security/tls.tsx

@@ -20,7 +20,7 @@ export default function TlsForm() {
         <Select
           allowClear
           placeholder={t('none')}
-          options={UTLS_OPTIONS}
+          options={[{ value: '', label: t('none') }, ...UTLS_OPTIONS]}
         />
       </Form.Item>
       <Form.Item