Nomad stuff
Some checks failed
Build and Deploy LifeFAQ / build-image (push) Failing after 3m21s

This commit is contained in:
Henrik Jess Nielsen
2025-10-05 15:54:42 +02:00
parent 0747579dcf
commit f318440572
4 changed files with 145 additions and 53 deletions

View File

@@ -2,6 +2,7 @@ from fastapi import FastAPI
from contextlib import asynccontextmanager
from fastapi.staticfiles import StaticFiles
import app
from app.controllers.route_to_web import RouteToWeb
from app.services.markdown_processor import MarkdownProcessor
from app.services.metadata_processor import MetadataProcessor
@@ -68,6 +69,10 @@ class Application:
"""Return the FastAPI app instance."""
return self.app
@app.get("/health")
async def health(self):
return {"status": "healthy"}
application = Application()
app = application.get_app()