Building 70 Projects ranging from beginner to advanced so anyone can β learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company π
Go aicertificationcloud-engineeringcybercybersecuritycybersecurity-analystcybersecurity-certificationcybersecurity-certificationscybersecurity-educationcybersecurity-jobscybersecurity-portfoliocybersecurity-projectscybersecurity-toolsgrchackinglearningpentestingproject-repositoryprojetcspython
cors - open api - remove check
CarterPerez-deve4db6ea35940
diff --git a/PROJECTS/bug-bounty-platform/backend/app/config.py b/PROJECTS/bug-bounty-platform/backend/app/config.pyindex 0b8e844c..77261727 100644--- a/PROJECTS/bug-bounty-platform/backend/app/config.py+++ b/PROJECTS/bug-bounty-platform/backend/app/config.py@@ -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