mirror of
https://github.com/flibusta-apps/users_settings_server.git
synced 2025-12-06 14:45:38 +01:00
Add healthcheck
This commit is contained in:
@@ -2,7 +2,7 @@ from fastapi import FastAPI
|
||||
|
||||
from fastapi_pagination import add_pagination
|
||||
|
||||
from app.views import users_router, languages_router
|
||||
from app.views import users_router, languages_router, healthcheck_router
|
||||
from core.db import database
|
||||
|
||||
|
||||
@@ -11,6 +11,7 @@ def start_app() -> FastAPI:
|
||||
|
||||
app.include_router(users_router)
|
||||
app.include_router(languages_router)
|
||||
app.include_router(healthcheck_router)
|
||||
|
||||
app.state.database = database
|
||||
|
||||
|
||||
Reference in New Issue
Block a user