mirror of
https://github.com/MatsuriDayo/nekoray.git
synced 2025-12-26 11:21:25 +08:00
parent
44f96af680
commit
f32ec41b4b
@ -164,6 +164,7 @@ namespace NekoRay::fmt {
|
||||
QJsonObject coreTlsObj{
|
||||
{"enabled", true},
|
||||
{"insecure", allowInsecure},
|
||||
{"certificate", caText.trimmed()},
|
||||
{"server_name", sni},
|
||||
};
|
||||
if (!alpn.trimmed().isEmpty()) coreTlsObj["alpn"] = QJsonArray{alpn};
|
||||
|
||||
Loading…
Reference in New Issue
Block a user