Spaces:
Sleeping
Sleeping
from pydantic import AnyHttpUrl | |
from pydantic_settings import BaseSettings, SettingsConfigDict | |
from dotenv import load_dotenv | |
load_dotenv() | |
class Settings(BaseSettings): | |
PROJECT_NAME: str = "Rediones API" | |
# BACKEND_CORS_ORIGINS: list[AnyHtt)pUrl] = ["*"] | |
ALLOWED_ORIGINS: list[str] = ["*"] | |
model_config = SettingsConfigDict(gcase_sensitive=True) | |
get_settings = Settings() | |