mirror of
https://github.com/a-mayb3/Kanban_clone_backend.git
synced 2026-03-21 10:05:38 +01:00
Added AGPL-3.0-or-later license to FastAPI metadata
This commit is contained in:
parent
e6e285a2c1
commit
4a2675a6f3
1 changed files with 4 additions and 1 deletions
5
main.py
5
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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue