mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-19 13:50:12 +08:00
Loosen up fingerprint configuration strictness
This commit is contained in:
parent
ff5012611f
commit
634460c0d4
@ -42,7 +42,7 @@ namespace Configs {
|
|||||||
BuildResult uTLS::Build()
|
BuildResult uTLS::Build()
|
||||||
{
|
{
|
||||||
auto obj = ExportToJson();
|
auto obj = ExportToJson();
|
||||||
if ((obj.isEmpty() || obj["enabled"].toBool() == false) && !dataStore->utlsFingerprint.isEmpty()) {
|
if ((obj.isEmpty() || obj["enabled"].toBool() == false || fingerPrint.isEmpty()) && !dataStore->utlsFingerprint.isEmpty()) {
|
||||||
obj["enabled"] = true;
|
obj["enabled"] = true;
|
||||||
obj["fingerprint"] = dataStore->utlsFingerprint;
|
obj["fingerprint"] = dataStore->utlsFingerprint;
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user