feat: add operational sync controls
This commit is contained in:
@@ -11,6 +11,7 @@ from app.mywhoosh.client import MyWhooshClient
|
||||
from app.security.credentials import CredentialCipher
|
||||
from app.sync.manager import SyncManager
|
||||
from app.sync.scheduler import SyncScheduler
|
||||
from app.web.operations import router as operations_router
|
||||
from app.web.routes import router as web_router
|
||||
|
||||
|
||||
@@ -63,6 +64,7 @@ def create_app(settings: Settings | None = None) -> FastAPI:
|
||||
https_only=resolved.session_https_only,
|
||||
)
|
||||
app.include_router(web_router)
|
||||
app.include_router(operations_router)
|
||||
|
||||
@app.get("/healthz")
|
||||
def healthz() -> dict[str, str]:
|
||||
|
||||
Reference in New Issue
Block a user