point-median-frontend/config.py
2023-09-14 17:09:11 -04:00

17 lines
328 B
Python

from typing import Optional
from pydantic import BaseModel
from pydantic_settings import BaseSettings
from dotenv import find_dotenv
LOGGER_NAME = "point-median-frontend"
class Settings(BaseSettings):
BACKEND_URL: str = "http://localhost:8000"
class Config:
env_file = find_dotenv()
settings = Settings()