Skip to content

Commit 4540fe4

Browse files
committed
Bump version to 3.1.1 and add CORS origins
Update package __version__ to 3.1.1 and expand CORS allowlist to permit requests from three additional domains: https://listingslab.com/, https://ed-tech.co/, and https://notheretofuckspiders.art/. This enables these sites to access the API.
1 parent 6c6f94e commit 4540fe4

2 files changed

Lines changed: 4 additions & 1 deletion

File tree

app/__init__.py

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

33
# Current Version
4-
__version__ = "3.1.0"
4+
__version__ = "3.1.1"
55

app/main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@
2626
"https://goldlabel.pro",
2727
"https://nx-admin.goldlabel.pro",
2828
"https://free.goldlabel.pro",
29+
"https://listingslab.com/",
30+
"https://ed-tech.co/",
31+
"https://notheretofuckspiders.art/",
2932
],
3033
allow_credentials=True,
3134
allow_methods=["*"],

0 commit comments

Comments
 (0)