From 4a2675a6f32e7171aea07f20f77d028bdcef0ca0 Mon Sep 17 00:00:00 2001 From: Borgia Leiva Date: Tue, 3 Feb 2026 13:30:40 +0100 Subject: [PATCH] Added AGPL-3.0-or-later license to FastAPI metadata --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 280c2fe..377e1f9 100644 --- a/main.py +++ b/main.py @@ -32,7 +32,10 @@ async def lifespan(app: FastAPI): init_db() yield -app = FastAPI(lifespan=lifespan) +app = FastAPI( + lifespan=lifespan, + license_info={"name": "AGPL-3.0-or-later", "url": "https://www.gnu.org/licenses/agpl-3.0.en.html"} + ) app.add_middleware( CORSMiddleware,