From fbb5882d898adf277f3d3984e7c0defa25634402 Mon Sep 17 00:00:00 2001 From: Divya Patel Date: Wed, 18 Feb 2026 22:21:10 +0530 Subject: [PATCH] feat: add public /about endpoint returning plain text response --- app/main.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/main.py b/app/main.py index 1750389..90f56d4 100644 --- a/app/main.py +++ b/app/main.py @@ -3,6 +3,8 @@ from pydantic import BaseModel from typing import Optional import logging +from fastapi.responses import PlainTextResponse + logging.basicConfig(level=logging.INFO) logger = logging.getLogger(__name__) @@ -80,7 +82,7 @@ def create_task(task: TaskCreate): @app.get("/about",response_class=PlainTextResponse) def about_backend(): - return "This is all backend" + return "This is all about backend" @app.get("/tasks") def list_tasks(limit: int = 100):