cors - open api - remove check

This commit is contained in:
CarterPerez-dev 2026-01-06 13:48:13 -05:00
parent 0056140c86
commit e4db6ea359
1 changed files with 0 additions and 4 deletions

View File

@ -191,10 +191,6 @@ class Settings(BaseSettings):
if self.ENVIRONMENT == Environment.PRODUCTION:
if self.DEBUG:
raise ValueError("DEBUG must be False in production")
if self.CORS_ORIGINS == ["*"]:
raise ValueError(
"CORS_ORIGINS cannot be ['*'] in production"
)
return self