mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2026-10-28 00:34:59 +03:00
feat(sub): export TLS cipher suites as the cs query param in share links (#6825)
Hosts and TLS inbounds can set cipher suites, but they reached only the JSON and Clash subscriptions; raw share links never carried them, so clients that read cs from links (v2rayNG forks used with fp=unsafe) had to enter them by hand. Share links now emit cs from the host or inbound TLS settings, the panel's own link generator and previews do the same, and both link parsers (the Go one and the panel's outbound import) read cs back into tlsSettings.cipherSuites.
This commit is contained in:
@@ -25,6 +25,7 @@ export const ExternalProxyEntrySchema = z.object({
|
||||
pinnedPeerCertSha256: z.array(z.string()).optional(),
|
||||
verifyPeerCertByName: z.string().optional(),
|
||||
echConfigList: z.string().optional(),
|
||||
cipherSuites: z.string().optional(),
|
||||
vlessRoute: z.string().optional(),
|
||||
allowInsecure: z.boolean().optional(),
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user