mirror of
https://github.com/Mahdi-zarei/nekoray.git
synced 2025-12-18 20:50:09 +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()
|
||||
{
|
||||
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["fingerprint"] = dataStore->utlsFingerprint;
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user