feat: add API routers for network, tasks, calendar, and services
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
13
backend/routers/services.py
Normal file
13
backend/routers/services.py
Normal file
@@ -0,0 +1,13 @@
|
||||
from fastapi import APIRouter
|
||||
|
||||
router = APIRouter(prefix="/api/services", tags=["services"])
|
||||
|
||||
|
||||
@router.get("/config")
|
||||
async def get_config():
|
||||
from main import app_config
|
||||
settings = app_config.get_settings()
|
||||
return {
|
||||
"display": settings.get("display", {}),
|
||||
"refresh": settings.get("refresh", {}),
|
||||
}
|
||||
Reference in New Issue
Block a user