mirror of
https://github.com/MetaCubeX/mihomo.git
synced 2026-02-26 08:47:09 +00:00
chore: deprecated global-client-fingerprint, please set client-fingerprint directly on the proxy instead
This commit is contained in:
@@ -424,6 +424,9 @@ func updateGeneral(general *config.General, logging bool) {
|
|||||||
mihomoHttp.SetUA(general.GlobalUA)
|
mihomoHttp.SetUA(general.GlobalUA)
|
||||||
resource.SetETag(general.ETagSupport)
|
resource.SetETag(general.ETagSupport)
|
||||||
|
|
||||||
|
if general.GlobalClientFingerprint != "" {
|
||||||
|
log.Warnln("The `global-client-fingerprint` configuration is deprecated, please set `client-fingerprint` directly on the proxy instead")
|
||||||
|
}
|
||||||
tlsC.SetGlobalFingerprint(general.GlobalClientFingerprint)
|
tlsC.SetGlobalFingerprint(general.GlobalClientFingerprint)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user