Skip to content

Commit

Permalink
fix hysteria 固定证书功能失效 MatsuriDayo#583 (MatsuriDayo#584)
Browse files Browse the repository at this point in the history
  • Loading branch information
tdjnodj authored May 14, 2023
1 parent 44f96af commit f32ec41
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions fmt/Bean2CoreObj_box.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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};
Expand Down

0 comments on commit f32ec41

Please sign in to comment.