mirror of
https://github.com/maxdorninger/MediaManager.git
synced 2026-04-17 23:23:25 +02:00
16 lines
465 B
Python
16 lines
465 B
Python
from pathlib import Path
|
|
|
|
from pydantic import AnyHttpUrl
|
|
from pydantic_settings import BaseSettings
|
|
|
|
|
|
class BasicConfig(BaseSettings):
|
|
image_directory: Path = "/data/images"
|
|
tv_directory: Path = "/data/tv"
|
|
movie_directory: Path = "/data/movies"
|
|
torrent_directory: Path = "/data/torrents"
|
|
usenet_directory: Path = "/data/usenet"
|
|
FRONTEND_URL: AnyHttpUrl = "http://localhost:3000/"
|
|
CORS_URLS: list[str] = []
|
|
DEVELOPMENT: bool = False
|