fix(sora): 默认开启 TLS 指纹并支持显式关闭
This commit is contained in:
@@ -781,9 +781,9 @@ func parseSoraRemainingSummary(body []byte) string {
|
||||
|
||||
func (s *AccountTestService) shouldEnableSoraTLSFingerprint() bool {
|
||||
if s == nil || s.cfg == nil {
|
||||
return false
|
||||
return true
|
||||
}
|
||||
return s.cfg.Gateway.TLSFingerprint.Enabled && !s.cfg.Sora.Client.DisableTLSFingerprint
|
||||
return !s.cfg.Sora.Client.DisableTLSFingerprint
|
||||
}
|
||||
|
||||
func isCloudflareChallengeResponse(statusCode int, body []byte) bool {
|
||||
|
||||
Reference in New Issue
Block a user