Skip to content

Commit 63a9088

Browse files
committed
Bump version and update FastAPI settings
Bump package version from 2.2.6 to 2.2.8. Update FastAPI app title from "Python" to "Python°" and extend CORS allow_origins to include additional local dev ports (http://localhost:2020, http://localhost:2000) and the admin host (https://nx-admin.goldlabel.pro).
1 parent 9de4177 commit 63a9088

2 files changed

Lines changed: 5 additions & 2 deletions

File tree

app/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Python - FastAPI, Postgres, tsvector"""
22

33
# Current Version
4-
__version__ = "2.2.6"
4+
__version__ = "2.2.8"

app/main.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
from app.api.routes import router
1111

1212
app = FastAPI(
13-
title="Python",
13+
title="Python°",
1414
description="FastAPI, Postgres, tsvector",
1515
version=__version__,
1616
)
@@ -21,7 +21,10 @@
2121
allow_origins=[
2222
"http://localhost:1999",
2323
"http://localhost:2027",
24+
"http://localhost:2020",
25+
"http://localhost:2000",
2426
"https://goldlabel.pro",
27+
"https://nx-admin.goldlabel.pro",
2528
"https://free.goldlabel.pro",
2629
],
2730
allow_credentials=True,

0 commit comments

Comments
 (0)