mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-11-08 00:17:36 -05:00
remove time based check in VMess MD5 decommission enforcement
This commit is contained in:
@@ -380,11 +380,7 @@ func init() {
|
||||
return common.CreateObject(ctx, fullConfig)
|
||||
}))
|
||||
|
||||
defaultFlagValue := "NOT_DEFINED_AT_ALL"
|
||||
|
||||
if time.Now().Year() >= 2022 {
|
||||
defaultFlagValue = "true_by_default_2022"
|
||||
}
|
||||
defaultFlagValue := "true_by_default_2022"
|
||||
|
||||
isAeadForced := platform.NewEnvFlag("v2ray.vmess.aead.forced").GetValue(func() string { return defaultFlagValue })
|
||||
if isAeadForced == "true" {
|
||||
|
||||
Reference in New Issue
Block a user