wip remove useless endpoint

This commit is contained in:
lebaudantoine
2024-11-29 17:51:44 +01:00
parent 17d213fb49
commit 5c84dbff88
-7
View File
@@ -4,18 +4,11 @@ from fastapi import Depends, FastAPI
from pydantic import BaseModel
from .celery_worker import send_push_notification
from .config import SettingsDeps
from .security import verify_token
app = FastAPI()
@app.get("/")
async def root(settings: SettingsDeps):
"""Root endpoint that returns app name."""
return {"message": f"Hello World, using {settings.app_name}"}
@app.get("/__heartbeat__")
async def heartbeat():
"""Health check endpoint for monitoring."""