From b683e5db0d0df92311d1fa90aba3c5911226c072 Mon Sep 17 00:00:00 2001 From: Sudesh Date: Sat, 21 Mar 2026 17:06:23 +0530 Subject: [PATCH 1/2] added /about --- app/main.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/app/main.py b/app/main.py index 1750389..3ffe832 100644 --- a/app/main.py +++ b/app/main.py @@ -78,9 +78,11 @@ def create_task(task: TaskCreate): except Exception as e: raise HTTPException(status_code=500, detail=str(e)) -@app.get("/about",response_class=PlainTextResponse) + + +@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): From 0da64c31fd7fc718be3dfa041090ad03737f8e0b Mon Sep 17 00:00:00 2001 From: Sudesh Date: Sat, 21 Mar 2026 17:10:31 +0530 Subject: [PATCH 2/2] added backend api --- app/main.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/app/main.py b/app/main.py index 3ffe832..0f05366 100644 --- a/app/main.py +++ b/app/main.py @@ -78,8 +78,6 @@ def create_task(task: TaskCreate): except Exception as e: raise HTTPException(status_code=500, detail=str(e)) - - @app.get("/about",response_class = PlainTextResponse) def about_backend(): return 'This is all about backend'