forked from baron/baron-sso
레포 업데이트
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
package service
|
||||
|
||||
import (
|
||||
"baron-sso-backend/internal/logger"
|
||||
"os"
|
||||
"strings"
|
||||
)
|
||||
@@ -10,7 +11,7 @@ func IsProductionEnv() bool {
|
||||
if env == "" {
|
||||
env = strings.ToLower(os.Getenv("GO_ENV"))
|
||||
}
|
||||
return env == "prod" || env == "production"
|
||||
return logger.IsProductionLikeEnv(env)
|
||||
}
|
||||
|
||||
func IsDryRunAllowed() bool {
|
||||
|
||||
Reference in New Issue
Block a user