Spaces:
Sleeping
Sleeping
File size: 408 Bytes
67d6f5b 8dc67d4 67d6f5b 6cf2612 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 |
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()
|