1
0
forked from baron/baron-sso

레포 업데이트

This commit is contained in:
Lectom C Han
2026-04-01 20:32:09 +09:00
parent 8bab8d44cc
commit 4b0fbdde98
31 changed files with 1636 additions and 43 deletions

View File

@@ -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 {