Refactor API into routers and shared modules
Skeleton contracts / contracts (pull_request) Canceled after 0s

This commit is contained in:
Polusikkkk
2026-10-16 18:45:36 +03:00
parent 083dc49564
commit 1bba3bcab0
15 changed files with 1001 additions and 682 deletions
+12
View File
@@ -0,0 +1,12 @@
from __future__ import annotations
import os
SESSION_TTL_SECONDS = int(
os.getenv("SESSION_TTL_SECONDS", "3600")
)
if SESSION_TTL_SECONDS < 1:
raise ValueError("SESSION_TTL_SECONDS must be positive")