remove unused env 'IsProduction'

This commit is contained in:
yusing 2025-02-27 05:29:54 +08:00
parent f9b7e64d53
commit 09db57db8f

View file

@ -18,7 +18,6 @@ var (
IsTest = GetEnvBool("TEST", false) || strings.HasSuffix(os.Args[0], ".test") IsTest = GetEnvBool("TEST", false) || strings.HasSuffix(os.Args[0], ".test")
IsDebug = GetEnvBool("DEBUG", IsTest) IsDebug = GetEnvBool("DEBUG", IsTest)
IsTrace = GetEnvBool("TRACE", false) && IsDebug IsTrace = GetEnvBool("TRACE", false) && IsDebug
IsProduction = !IsTest && !IsDebug
ProxyHTTPAddr, ProxyHTTPAddr,
ProxyHTTPHost, ProxyHTTPHost,