Ajay85/hackathon
0
1import sys2from typing import List3 4from pydantic import AnyHttpUrl, BaseSettings5 6class Settings(BaseSettings):7 API_V1_STR: str = "/api/v1"8 9 # Meta10 11 # BACKEND_CORS_ORIGINS is a comma-separated list of origins12 # e.g: http://localhost,http://localhost:4200,http://localhost:300013 BACKEND_CORS_ORIGINS: List[AnyHttpUrl] = [14 "http://localhost:3000", # type: ignore15 "http://localhost:8000", # type: ignore16 "https://localhost:3000", # type: ignore17 "https://localhost:8000", # type: ignore18 ]19 20 PROJECT_NAME: str = "Recognition API"21 22 class Config:23 case_sensitive = True24 25settings = Settings()26 