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