Skip to content

Commit 83f518b

Browse files
grillazzCopilot
andauthored
Update app/main.py
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent fce759e commit 83f518b

1 file changed

Lines changed: 4 additions & 4 deletions

File tree

app/main.py

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ async def lifespan(app: FastAPI):
4747
await app.postgres_pool.close()
4848

4949

50-
middleware = [
51-
Middleware(GZipMiddleware),
52-
Middleware(ProfilingMiddleware),
53-
]
50+
middleware = [Middleware(GZipMiddleware), Middleware(ProfilingMiddleware)]
5451

5552

5653
def create_app() -> FastAPI:
54+
app = FastAPI(
55+
title="Stuff And Nonsense API",
56+
version="1.22.0",
5757
app = FastAPI(
5858
title="Stuff And Nonsense API",
5959
version="1.22.0",

0 commit comments

Comments
 (0)