Skip to content

Commit 18af685

Browse files
Merge pull request #93 from goldlabelapps/staging
This pull request contains minor updates to the FastAPI application, including a version bump, improvements to CORS configuration, and a small change to the app's title.
2 parents 2273ed8 + 63a9088 commit 18af685

6 files changed

Lines changed: 270 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,

app/static/SVGIcon.sketch

7.07 KB
Binary file not shown.

app/static/python copy.png

-333 KB
Binary file not shown.

app/static/python-logo.sketch

8.83 KB
Binary file not shown.

app/static/python-logo.svg

Lines changed: 265 additions & 0 deletions
Loading

0 commit comments

Comments
 (0)