from fastapi import APIRouter from fastapi.responses import HTMLResponse from core.settings import app_settings html_router = APIRouter() @html_router.get("/") async def index(): html_content = f""" {app_settings.name}

{app_settings.name}

""" return HTMLResponse(content=html_content)