mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-18 15:43:24 +02:00
15 lines
400 B
Python
15 lines
400 B
Python
from pathlib import Path
|
|
|
|
from pydantic import AnyHttpUrl
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class BasicConfig(BaseSettings):
|
|
image_directory: Path = "./data"
|
|
tv_directory: Path = "./tv"
|
|
movie_directory: Path = "./movie"
|
|
torrent_directory: Path = "./torrent"
|
|
FRONTEND_URL: AnyHttpUrl = "http://localhost:3000"
|
|
CORS_URLS: list[str] = []
|
|
DEVELOPMENT: bool = False
|