fix: update production environment variable check
- Change FETCH_ML_ENV check from 'production' to 'prod' - Aligns with common environment naming conventions - Fixes authentication validation for production deployment
This commit is contained in:
parent
c5df0f40ff
commit
10a3afaafb
1 changed files with 1 additions and 1 deletions
|
|
@ -10,7 +10,7 @@ import (
|
|||
// ValidateAuthConfig enforces authentication requirements
|
||||
func (c *AuthConfig) ValidateAuthConfig() error {
|
||||
// Check if we're in production environment
|
||||
isProduction := os.Getenv("FETCH_ML_ENV") == "production"
|
||||
isProduction := os.Getenv("FETCH_ML_ENV") == "prod"
|
||||
|
||||
if isProduction {
|
||||
if !c.Enabled {
|
||||
|
|
|
|||
Loading…
Reference in a new issue