This commit is contained in:
2026-04-05 19:15:12 +02:00
parent 101753fa14
commit a2ef50401b
10 changed files with 347 additions and 1 deletions

15
server/config.py Normal file
View File

@@ -0,0 +1,15 @@
from pathlib import Path
from pydantic import BaseSettings
class ServerSettings(BaseSettings):
grid_rows: int = 4
grid_cols: int = 4
cell_margin_px: int = 4
storage_dir: Path = Path("data/screenshots")
default_timeout: int = 10
class Config:
env_prefix = "CLICKTHROUGH_"
env_file = ".env"